aboutsummaryrefslogtreecommitdiff
path: root/tccpe.c
diff options
context:
space:
mode:
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--;
}