From: Mike Pall Date: Mon, 20 Feb 2017 01:44:29 +0000 (+0100) Subject: x64/LJ_GC64: Fix warning for DUALNUM build. X-Git-Tag: v2.1.0-beta3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=130d1dc5f243198c2f7800743704057f4e683065;p=thirdparty%2FLuaJIT.git x64/LJ_GC64: Fix warning for DUALNUM build. --- 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