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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1392 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
3cae0dae3f
commit
1c83b69cb6
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