John Labenski <jlaben...@...> writes:

> 
> I actually don't have any problems with
> 
>     int mask = (int)wxlua_getnumbertype(L, 3);
> 
> but, I do see it with
> 
>    double d = 0xfe000000; int i = (int)d;
> 
> Strange that it differs from your experiences, but Ok, I agree that it's 
broken.

Yes you are right this is really strange...

> 
>    int i = (int)wxlua_getintegertype();
> 

or maybe

int i = (unsigned int)wxlua_getintegertype();

unsigned int is what we wish for 
int is what we have to use.

Whatever you like.

Thank you for your help.

Andre


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to