lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


About the bug in the definition of lua_number2int for Windows, can
someone test this alternative definition (luaconf.h)?

439,441c439,441
< #define lua_number2int(i,d)   \
<       __asm fld d; \
<       __asm fistp i;
---
> #define lua_number2int(i,d) __asm { fld d \
>                                   fistp i \
>                                 }

Thanks,

-- Roberto