Make conf2ael build on 64-bit systems.
authorJoshua Colp <jcolp@digium.com>
Thu, 16 Aug 2007 15:27:33 +0000 (15:27 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 16 Aug 2007 15:27:33 +0000 (15:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79687 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/conf2ael.c

index 7caf069..880fc35 100644 (file)
@@ -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); */