summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-01-29 17:26:36 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-01-29 17:26:36 -0600
commit3793152bc3666043764689af9821ef15da1243ae (patch)
treee80a7e452a32646b0198fb1b01aede7d25cd0292 /include/global.h
parenta3ed94dc69aea88c2e18ddab6099217c3ee1094b (diff)
More work on menu
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 9f6c45df1..21e468515 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