diff options
author | Terry Wilson <twilson@digium.com> | 2011-06-15 20:02:30 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2011-06-15 20:02:30 +0000 |
commit | 0fccd77f47f07a335a2cd1d0f82c734000e47fe2 (patch) | |
tree | d7fef0701197d76370aac4450b319b159d0cf8e6 /include | |
parent | 89b653cb8105a7325ac98453c4fd2b96e1a30680 (diff) |
Merged revisions 323863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r323863 | twilson | 2011-06-15 14:58:18 -0500 (Wed, 15 Jun 2011) | 2 lines
Make ARRAY_LEN() return the same type on x86 and x86_64 systems
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@323864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-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 */ |