]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
x64/LJ_GC64: Fix warning for DUALNUM build.
authorMike Pall <mike>
Mon, 20 Feb 2017 01:44:29 +0000 (02:44 +0100)
committerMike Pall <mike>
Mon, 20 Feb 2017 01:44:29 +0000 (02:44 +0100)
src/vm_x64.dasc

index c043269894ef8a6b7b28457f7b83dfdb5e9d4d82..a003fb4f6bf5c9d0d25695e3695e466d476d4625 100644 (file)
@@ -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