CRC_Block: make input pointer const. From QS-Spike

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1392 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Eric Wasylishen 2017-04-02 07:14:53 +00:00
parent 3cae0dae3f
commit 1c83b69cb6
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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 */