aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/ast_expr2.c2
-rw-r--r--main/ast_expr2.y2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/ast_expr2.c b/main/ast_expr2.c
index 2154a4d8c..7a55bc16f 100644
--- a/main/ast_expr2.c
+++ b/main/ast_expr2.c
@@ -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;
}
diff --git a/main/ast_expr2.y b/main/ast_expr2.y
index d6c5e8eaa..89baf91bd 100644
--- a/main/ast_expr2.y
+++ b/main/ast_expr2.y
@@ -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;
}