[asterisk-commits] file: trunk r89121 - /trunk/funcs/func_env.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 8 15:27:37 CST 2007
Author: file
Date: Thu Nov 8 15:27:37 2007
New Revision: 89121
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89121
Log:
Make func_env build again.
Modified:
trunk/funcs/func_env.c
Modified: trunk/funcs/func_env.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_env.c?view=diff&rev=89121&r1=89120&r2=89121
==============================================================================
--- trunk/funcs/func_env.c (original)
+++ trunk/funcs/func_env.c Thu Nov 8 15:27:37 2007
@@ -127,10 +127,10 @@
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
More information about the asterisk-commits
mailing list