git-svn: trunk@1990
aCaB authored on 2006/05/24 21:06:40... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Wed May 24 14:04:56 CEST 2006 (acab) |
|
2 |
+------------------------------------ |
|
3 |
+ * libclamav/upx.c: Fixed macro typo reported by Andy Fiddaman. |
|
4 |
+ |
|
1 | 5 |
Tue May 23 21:51:37 CEST 2006 (acab) |
2 | 6 |
------------------------------------ |
3 | 7 |
* libclamav/upx.c: Improved UPX unpacking capabilities and geneal cleanup |
... | ... |
@@ -70,9 +70,9 @@ |
70 | 70 |
" |
71 | 71 |
|
72 | 72 |
#if WORDS_BIGENDIAN == 0 |
73 |
-#define CLI_READLE32(x) *(int32_t *)(x) |
|
73 |
+#define CLI_READLE32(x) (*(int32_t *)(x)) |
|
74 | 74 |
#else |
75 |
-#define CLI_READLE32(x) ((*x) >> 24) | ((*(x+1) & 0x00FF0000) >> 8) | \ |
|
75 |
+#define CLI_READLE32(x) (((*x) >> 24) | ((*(x+1) & 0x00FF0000) >> 8) | \ |
|
76 | 76 |
((*(x+2) & 0x0000FF00) << 8) | (*(x) << 24)) |
77 | 77 |
#endif |
78 | 78 |
|