aboutsummaryrefslogtreecommitdiffstats
path: root/ast_expr2.y
diff options
context:
space:
mode:
Diffstat (limited to 'ast_expr2.y')
-rwxr-xr-xast_expr2.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast_expr2.y b/ast_expr2.y
index c2af98ce2..47a0c7ed1 100755
--- a/ast_expr2.y
+++ b/ast_expr2.y
@@ -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;
}