lua-users home
lua-l archive

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


> Then I changed from Windows XP x86 to Windows 7 x64, ran these tests
> with the same binaries and the results were correct.
> 
> It seems that msvcrt.dll on these two systems behave differently.

I had tested on Windows 7, that is why I suspected the libraries. I
still think the problem is the "ll" modifier for printing long longs.
Maybe you could try "L" instead of "ll"?

In luaconf.h:
527c527
< #define LUA_INTEGER_FRMLEN	"ll"
---
> #define LUA_INTEGER_FRMLEN	"L"

-- Roberto