summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
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