[aquaria] [PATCH] Variable type changes and extra include file for compiling in Linux (and probably Mac)
Jordi Gutiérrez Hermoso
jordigh at gmail.com
Sat Jun 5 14:05:48 EDT 2010
On 5 June 2010 12:33, Ryan C. Gordon <icculus at icculus.org> wrote:
>> I'm not sure this is the right fix. In some platforms, int is the
>> right choice, and it's not necessarily the best idea to always use
>> long or int. Thankfully, C provides the uintptr_t typedef for just
>> this purpose which I used in my patch.
> Again, this won't work either; Lua stores numbers as 64-bit doubles, which
> means it's not safe to store 64-bit pointers in them.
Yeah, I saw your other post after I submitted this one. Oh well. :-)
There are a few other minor things that this patch does address
correctly, I think. Do you want me to resubmit without attempting to
More information about the aquaria