diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-27 22:27:17 +0200 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-27 22:27:17 +0200 |
| commit | 49ea4e7561980d79ec3bed869982852b45b597e8 (patch) | |
| tree | 187f00972a4280dd4ae01512714e6b35b21bec92 /libpsn00b/lzp/crc.c | |
| parent | 0e3278a087daa25cba541d7c1dae19dfd4e2d422 (diff) | |
| download | psn00bsdk-49ea4e7561980d79ec3bed869982852b45b597e8.tar.gz | |
Updated changelog and files missing from last commit
Diffstat (limited to 'libpsn00b/lzp/crc.c')
| -rw-r--r-- | libpsn00b/lzp/crc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpsn00b/lzp/crc.c b/libpsn00b/lzp/crc.c index 7cc7bf3..3c1ae57 100644 --- a/libpsn00b/lzp/crc.c +++ b/libpsn00b/lzp/crc.c @@ -73,9 +73,9 @@ unsigned short lzCRC16(const void* buff, int bytes, unsigned short crc) { unsigned int lzCRC32(const void* buff, int bytes, unsigned int crc) { int i; - unsigned char* byteBuff = (const unsigned char*)buff; - unsigned int byte; - unsigned int crcTable[256]; + const unsigned char* byteBuff = (const unsigned char*)buff; + unsigned int byte; + unsigned int crcTable[256]; initTable32(crcTable); |
