diff options
author | Joshua Colp <jcolp@digium.com> | 2007-11-08 21:27:37 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-11-08 21:27:37 +0000 |
commit | e4187a7a26d26002e8818a4c2fbd1a6d4cb5c9cb (patch) | |
tree | 18bee1d20642e1f9fb81d0ddbbea7d72b2d4ca66 /funcs | |
parent | beef61b71821e460dd7423323719ff9cfa677f08 (diff) |
Make func_env build again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-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 |