X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/abcb5d8720e264d76f9db2db0497de21fa832602..3c9c17a11ff7c6122f99ea4f9d02a63a6bcea496:/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)