mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
fix signed/unsigned result issue on 32-bit platforms (issue #5050)
(expression parser was rebuilt with bison 1.875d as well) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -349,7 +349,7 @@ to_string (struct val *vp)
|
||||
return;
|
||||
}
|
||||
|
||||
sprintf (tmp, "%lld", (long long)vp->u.i);
|
||||
sprintf (tmp, "%ld", vp->u.i);
|
||||
vp->type = AST_EXPR_string;
|
||||
vp->u.s = tmp;
|
||||
}
|
||||
|
Reference in New Issue
Block a user