Don't use "long". Cleanups.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-09-22 00:47:35 +02:00
parent 473cfb54be
commit 763b3c05af
4 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ inline const T& UPX_MIN(const T& a, const T& b) { if (a < b) return a; return b;
// gets destructed when leaving scope or on exceptions.
#define Array(type, var, size) \
MemBuffer var ## _membuf(mem_size(sizeof(type), size)); \
type * const var = ((type *) var ## _membuf.getVoidPtr())
type * const var = ACC_STATIC_CAST(type *, var ## _membuf.getVoidPtr())
#define ByteArray(var, size) Array(unsigned char, var, size)