diff --git a/HLLib/XZPFile.cpp b/HLLib/XZPFile.cpp index 9eda139..c8cd509 100644 --- a/HLLib/XZPFile.cpp +++ b/HLLib/XZPFile.cpp @@ -197,7 +197,7 @@ CDirectoryFolder *CXZPFile::CreateRoot() 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)]);