Commit cb4d0346 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix previous in 32 bits archs

parent 6f9595e6
......@@ -861,7 +861,8 @@ vcc_expr4(struct vcc *tl, struct expr **e, vcc_type_t fmt)
} else if (i || fmt == REAL)
e1 = vcc_mk_expr(REAL, "%f", d);
else
e1 = vcc_mk_expr(INT, "%ld", (long)d);
e1 = vcc_mk_expr(INT, "%ld",
(unsigned long)d);
}
e1->constant = EXPR_CONST;
*e = e1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment