From 9072f9c8dbf7a703fffd5849fed93d437cb00cf8 Mon Sep 17 00:00:00 2001 From: Joshua Kwan Date: Sat, 31 Jan 2004 08:41:00 +0000 Subject: [PATCH] make sure precedence doens't bite ARRAY_SIZE in the ass git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@202 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- dgamelaunch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgamelaunch.c b/dgamelaunch.c index 4d5f24c..acfd018 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -65,7 +65,7 @@ #endif #ifndef ARRAY_SIZE -# define ARRAY_SIZE(x) sizeof(x) / sizeof(x[0]) +# define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) #endif #include