X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/33e3ac9056f046affd69e3b8871275e5e2697aa4..c066b1ff1cfc727cfd8409f79b4d2b990c678196:/utils/macros.h diff --git a/utils/macros.h b/utils/macros.h index bcceecd..8f9f49e 100644 --- a/utils/macros.h +++ b/utils/macros.h @@ -40,7 +40,7 @@ /*----- Miscellaneous utility macros --------------------------------------*/ -#define N(v) (sizeof(v)/sizeof(*v)) +#define N(v) (sizeof(v)/sizeof(*(v))) #define MLIB__STR(x) #x #define STR(x) MLIB__STR(x)