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
This commit is contained in:
Terry Wilson 2011-06-15 20:02:30 +00:00
parent 89b653cb81
commit 0fccd77f47
1 changed files with 1 additions and 1 deletions

View File

@ -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 */