Advertisement
Guest User

XZPFile.cpp.rej

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