diff options
-rw-r--r-- | include/asterisk/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 823af26c4..44eeb5f8e 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -682,7 +682,7 @@ void ast_enable_packet_fragmentation(int sock); */ int ast_mkdir(const char *path, int mode); -#define ARRAY_LEN(a) (sizeof(a) / sizeof(0[a])) +#define ARRAY_LEN(a) (size_t) (sizeof(a) / sizeof(0[a])) /* Definition for Digest authorization */ |