resolve a compiler warning so i can build in dev mode
authorRussell Bryant <russell@russellbryant.com>
Thu, 5 Jul 2007 20:52:29 +0000 (20:52 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 5 Jul 2007 20:52:29 +0000 (20:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73514 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/ast_expr2.c
main/ast_expr2.y

index 2154a4d..7a55bc1 100644 (file)
@@ -2475,7 +2475,7 @@ static char *compose_func_args(struct expr_node *arglist)
                }
                t = t->right;
        }
-       ast_log(LOG_NOTICE,"argbuf uses %d bytes;\n", strlen(argbuf));
+       ast_log(LOG_NOTICE,"argbuf uses %d bytes;\n", (int) strlen(argbuf));
        return argbuf;
 }
 
index d6c5e8e..89baf91 100644 (file)
@@ -647,7 +647,7 @@ static char *compose_func_args(struct expr_node *arglist)
                }
                t = t->right;
        }
-       ast_log(LOG_NOTICE,"argbuf uses %d bytes;\n", strlen(argbuf));
+       ast_log(LOG_NOTICE,"argbuf uses %d bytes;\n", (int) strlen(argbuf));
        return argbuf;
 }