Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- HLLib/XZPFile.cpp 2010-10-31 23:49:18.000000000 +0100
- +++ HLLib/XZPFile.cpp 2013-11-27 23:16:47.377991061 +0100
- @@ -197,7 +197,7 @@
- for(hlUInt i = 0; i < this->pHeader->uiDirectoryEntryCount; i++)
- {
- hlChar lpTemp[16] = "";
- - hlChar *lpLookup[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" };
- + const hlChar *lpLookup[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" };
- for(hlByte *lpCRC = (hlByte *)&this->lpDirectoryEntries[i].uiFileNameCRC; lpCRC < (hlByte *)&this->lpDirectoryEntries[i].uiFileNameCRC + sizeof(hlUInt); lpCRC++)
- {
- strcat(lpTemp, lpLookup[(hlByte)(*lpCRC >> 4)]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement