lua-users home
lua-l archive

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

On Thu, Dec 1, 2011 at 10:59 AM, Enrico Colombini <> wrote:
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...

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.

It's the other way around I think. C++ is much more picky with types and automatic type conversions than C.