diff --git a/VM/src/lnumutils.h b/VM/src/lnumutils.h index 38bfb322..9abe0335 100644 --- a/VM/src/lnumutils.h +++ b/VM/src/lnumutils.h @@ -53,8 +53,9 @@ LUAU_FASTMATH_END #if defined(_MSC_VER) && defined(_M_IX86) #define luai_num2unsigned(i, n) \ { \ + double v = (n); \ __int64 l; \ - __asm { __asm fld n __asm fistp l} \ + __asm { __asm fld v __asm fistp l} \ ; \ i = (unsigned int)l; \ }