summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2014-12-23 23:15:33 +0000
committerRicardo Cerqueira <ricardo@cyngn.com>2014-12-25 03:15:48 +0000
commit9309c89a08759622d6e9814c4afab2a34382954f (patch)
tree311f3a9c78c302f873deeebc3597ca34aa1428eb
parentd6fcf9a587f46c4df83fe81f762166c4d7ffd840 (diff)
downloadandroid_external_unrar-cm-12.0.tar.gz
android_external_unrar-cm-12.0.tar.bz2
android_external_unrar-cm-12.0.zip
Change-Id: Ia73fe6efad50abd782ea34f00c378272a6b5e5e6
-rw-r--r--src/rardefs.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rardefs.hpp b/src/rardefs.hpp
index 1e9788b..1442b05 100644
--- a/src/rardefs.hpp
+++ b/src/rardefs.hpp
@@ -4,7 +4,7 @@
#define Min(x,y) (((x)<(y)) ? (x):(y))
#define Max(x,y) (((x)>(y)) ? (x):(y))
-#define ASIZE(x) (sizeof(x)/sizeof(x[0]))
+#define ASIZE(x) (sizeof(x)/sizeof(*x))
// MAXPASSWORD is expected to be multiple of CRYPTPROTECTMEMORY_BLOCK_SIZE (16)
// for CryptProtectMemory in SecPassword.