aboutsummaryrefslogtreecommitdiff
path: root/tccpe.c
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-17 19:09:35 +0000
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-17 19:09:35 +0000
commit569fba6db9c12916bd2802a7ee46dc5609118e0b (patch)
tree8dc680cf47393c8eadb8563e4a842ce1e6656c01 /tccpe.c
parent3712c958f4ef31ce006edeab6c34875ea5ae08f8 (diff)
downloadtinycc-569fba6db9c12916bd2802a7ee46dc5609118e0b.tar.gz
tinycc-569fba6db9c12916bd2802a7ee46dc5609118e0b.tar.bz2
Merge the integer members of union CValue into "uint64_t i".
Diffstat (limited to 'tccpe.c')
-rw-r--r--tccpe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tccpe.c b/tccpe.c
index 0fd8c36..eb13d2d 100644
--- a/tccpe.c
+++ b/tccpe.c
@@ -1473,9 +1473,9 @@ ST_FUNC SValue *pe_getimport(SValue *sv, SValue *v2)
load(r2, v2);
v2->r = r2;
- if (sv->c.ui) {
+ if ((uint32_t)sv->c.i) {
vpushv(v2);
- vpushi(sv->c.ui);
+ vpushi(sv->c.i);
gen_opi('+');
*v2 = *vtop--;
}