[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (rc4) now available
- From: Bogdan Marinescu <bogdan.marinescu@...>
- Date: Thu, 1 Dec 2011 11:04:15 +0200
On Thu, Dec 1, 2011 at 10:59 AM, Enrico Colombini <email@example.com> wrote:
That's in C++. In C, if I remember correctly, there is no automatic conversion and the integer/pointer types could be incompatible on some hardware.
On 01/12/2011 9.47, Miles Bader wrote:
"0" should be perfectly acceptable in a pointer context; this sounds
like a bug with the C compiler...
It's the other way around I think. C++ is much more picky with types and automatic type conversions than C.