From: Joshua Colp Date: Thu, 16 Aug 2007 15:27:33 +0000 (+0000) Subject: Make conf2ael build on 64-bit systems. X-Git-Tag: 1.6.0-beta1~3^2~1716 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b10671b0b8d4db2a83ebad32c76f797d30efba64;p=thirdparty%2Fasterisk.git Make conf2ael build on 64-bit systems. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79687 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/conf2ael.c b/utils/conf2ael.c index 7caf0698a9..880fc35516 100644 --- a/utils/conf2ael.c +++ b/utils/conf2ael.c @@ -383,11 +383,11 @@ int main(int argc, char **argv) printf("Context: %s\n", tmp->name); } printf("=========\n"); - printf("Sizeof(context)=%d\n", sizeof(struct ast_context)); - printf("Sizeof(exten)=%d\n", sizeof(struct ast_exten)); - printf("Sizeof(include)=%d\n", sizeof(struct ast_include)); - printf("Sizeof(ignorepat)=%d\n", sizeof(struct ast_ignorepat)); - printf("Sizeof(sw)=%d\n", sizeof(struct ast_sw)); + printf("Sizeof(context)=%d\n", (int)sizeof(struct ast_context)); + printf("Sizeof(exten)=%d\n", (int)sizeof(struct ast_exten)); + printf("Sizeof(include)=%d\n", (int)sizeof(struct ast_include)); + printf("Sizeof(ignorepat)=%d\n", (int)sizeof(struct ast_ignorepat)); + printf("Sizeof(sw)=%d\n", (int)sizeof(struct ast_sw)); tmp = 0; while ((tmp = localized_walk_contexts(tmp)) ) { /* printf("Context: %s\n", tmp->name); */