summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-02-09 00:43:07 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-02-09 00:43:07 +0100
commitbce01bc518b3a5f36841f1d9d6649cc15d4a94b6 (patch)
tree8c398bf570547e3c43db6ba6930e5b38fefee177 /include/global.h
parent9df5e16343a7540a18607d13e098cf8ff8e252e3 (diff)
parent387dbf48d0bbb22dc16158a1ee0d373c166c8438 (diff)
battle labels merge with master
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index c575d40cd..0e5615eb0 100644
--- a/include/global.h
+++ b/include/global.h
@@ -24,7 +24,7 @@
#define INCBIN_S32 {0}
#endif // __APPLE__
-#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
+#define ARRAY_COUNT(array) (size_t)(sizeof(array) / sizeof((array)[0]))
// useful math macros