aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x86_64-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c
index 9acca3c..407bd96 100644
--- a/x86_64-gen.c
+++ b/x86_64-gen.c
@@ -366,7 +366,7 @@ void load(int r, SValue *sv)
#endif
fr = sv->r;
- ft = sv->type.t;
+ ft = sv->type.t & ~VT_DEFSIGN;
fc = sv->c.ul;
#ifndef TCC_TARGET_PE