Line 0
Link Here
|
|
|
1 |
--- ../orig/HLLib/XZPFile.cpp 2010-10-31 22:49:18.000000000 -0200 |
2 |
+++ ./HLLib/XZPFile.cpp 2013-02-11 17:56:51.302217604 -0200 |
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)]); |
12 |
@@ -299,9 +299,13 @@ |
13 |
hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], uiSize, hlFalse); |
14 |
return hlTrue; |
15 |
} |
16 |
+ default: |
17 |
+ ; |
18 |
} |
19 |
break; |
20 |
} |
21 |
+ default: |
22 |
+ ; |
23 |
} |
24 |
|
25 |
return hlFalse; |
26 |
Only in ./HLLib: XZPFile.cpp.orig |
27 |
diff -ru ../orig/HLLib/ZIPFile.cpp ./HLLib/ZIPFile.cpp |