diff options
Diffstat (limited to 'funcs/func_env.c')
-rw-r--r-- | funcs/func_env.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_env.c b/funcs/func_env.c index e53cb5309..fea94f20c 100644 --- a/funcs/func_env.c +++ b/funcs/func_env.c @@ -127,10 +127,10 @@ static int file_read(struct ast_channel *chan, const char *cmd, char *data, char if (args.argc > 2) { if ((length = atoi(args.length)) < 1) { - ast_log(LOG_WARNING, "Invalid length '%s'. Returning the max (%d)\n", args.length, len); + ast_log(LOG_WARNING, "Invalid length '%s'. Returning the max (%d)\n", args.length, (int)len); length = len; } else if (length > len) { - ast_log(LOG_WARNING, "Length %d is greater than the max (%d). Truncating output.\n", length, len); + ast_log(LOG_WARNING, "Length %d is greater than the max (%d). Truncating output.\n", length, (int)len); length = len; } } else |