summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c2
1 files changed, 1 insertions, 1 deletions
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 */