From: Bobby Powers <bobbypow...@gmail.com>
Subject: Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 
from incompatible pointer type)
Date: Sun, 13 Feb 2011 00:51:07 -0800

> In C, at least on *nix machines, a long is defined to be the same as the
> pointer size.  So on 32-bit systems its synonymous with int, and on 64-bit
> its the same as long long.  Why then explicitly define C_word to int on
> 32-bit then, as 'long' should work on both 32 and 64 bit platforms?

Yes, "long" would probably do. I can't recall the exact reason.
Thanks for pointing this out.


cheers,
felix

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to