[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 (work6) now available (for loop bug)
- From: Kurt Jung <kurt-lua@...>
- Date: Wed, 18 May 2005 13:17:13 -0400
Roberto Ierusalimschy wrote:
> May this be a bug in the macro lua_number2integer (used by
> lua_tointeger)?
Yes. By defining lua_number2integer the "slow" way, that is,
#define lua_number2integer(i,d) ((i)=(lua_Integer)(d))
the problems I encountered with Visual C++ (version 6.0) were cleared
up.
--
Kurt Jung