[asterisk-commits] file: trunk r79687 - /trunk/utils/conf2ael.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 16 10:27:33 CDT 2007


Author: file
Date: Thu Aug 16 10:27:33 2007
New Revision: 79687

URL: http://svn.digium.com/view/asterisk?view=rev&rev=79687
Log:
Make conf2ael build on 64-bit systems.

Modified:
    trunk/utils/conf2ael.c

Modified: trunk/utils/conf2ael.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/conf2ael.c?view=diff&rev=79687&r1=79686&r2=79687
==============================================================================
--- trunk/utils/conf2ael.c (original)
+++ trunk/utils/conf2ael.c Thu Aug 16 10:27:33 2007
@@ -383,11 +383,11 @@
 		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); */




More information about the asterisk-commits mailing list