attempt allowing a more complex expression here

This commit is contained in:
Lily Brown 2023-10-27 13:22:39 -07:00
parent 592469373b
commit 9216e4cb27

View File

@ -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; \
}