From 1e1095862dbfb7b0806ef2a31b1a914548b52ceb Mon Sep 17 00:00:00 2001 From: markster Date: Sun, 13 Jun 2004 21:25:10 +0000 Subject: x86-64 compile fixes and cleanups git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3202 f38db490-d61c-443f-a65b-d21fe96a405b --- pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbx.c') diff --git a/pbx.c b/pbx.c index 2c79751bb..d88c265c5 100755 --- a/pbx.c +++ b/pbx.c @@ -794,7 +794,7 @@ static void pbx_substitute_variables_temp(struct ast_channel *c,const char *var, char cp3[80]; strncpy(cp3, var, sizeof(cp3) - 1); cp3[len-len_len-1]='\0'; - sprintf(workspace,"%d",strlen(cp3)); + sprintf(workspace,"%d",(int)strlen(cp3)); *ret = workspace; } else { /* length is zero */ -- cgit v1.2.3