mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
CRC_Block: make input pointer const. From QS-Spike
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1392 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
4141dc75ae
commit
df624cbbb8
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ unsigned short CRC_Value(unsigned short crcvalue)
|
|||
}
|
||||
|
||||
//johnfitz -- texture crc
|
||||
unsigned short CRC_Block (byte *start, int count)
|
||||
unsigned short CRC_Block (const byte *start, int count)
|
||||
{
|
||||
unsigned short crc;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
void CRC_Init(unsigned short *crcvalue);
|
||||
void CRC_ProcessByte(unsigned short *crcvalue, byte data);
|
||||
unsigned short CRC_Value(unsigned short crcvalue);
|
||||
unsigned short CRC_Block (byte *start, int count); //johnfitz -- texture crc
|
||||
unsigned short CRC_Block (const byte *start, int count); //johnfitz -- texture crc
|
||||
|
||||
#endif /* _QUAKE_CRC_H */
|
||||
|
||||
|
|
Loading…
Reference in a new issue