aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccgen.c b/tccgen.c
index 3b62383..c59613b 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -2652,7 +2652,7 @@ the_end:
/* long is never used as type */
if ((t & VT_BTYPE) == VT_LONG)
-#ifndef TCC_TARGET_X86_64
+#if !defined TCC_TARGET_X86_64 || defined TCC_TARGET_PE
t = (t & ~VT_BTYPE) | VT_INT;
#else
t = (t & ~VT_BTYPE) | VT_LLONG;