Andre Arpin <ar...@...> writes:

> 
> John Labenski <jlaben...@...> writes:
> 
> > 
> > On Fri, Feb 20, 2009 at 9:26 AM, Andre Arpin <ar...@...> wrote:
> > > John Labenski <jlaben...@...> writes:
> 
> I have tried the following 
> 
 
Tried it again with gcc and I get 8000000 as an output

both gcc and vc will give the proper result when the double is cast to unsigned

so

        int mask = (unsigned)wxlua_getnumbertype(L, 3);

seems to be all that is necessary

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