From 130d1dc5f243198c2f7800743704057f4e683065 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 20 Feb 2017 02:44:29 +0100 Subject: [PATCH] x64/LJ_GC64: Fix warning for DUALNUM build. --- src/vm_x64.dasc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm_x64.dasc b/src/vm_x64.dasc index c0432698..a003fb4f 100644 --- a/src/vm_x64.dasc +++ b/src/vm_x64.dasc @@ -1469,7 +1469,7 @@ static void build_subroutines(BuildCtx *ctx) | mov [BASE-16], CFUNC:RD | mov [BASE-8], TMPR |.if DUALNUM - | mov64 RD, ((int64_t)LJ_TISNUM<<47) + | mov64 RD, ((uint64_t)LJ_TISNUM<<47) | mov [BASE], RD |.else | mov qword [BASE], 0