If you add a sizeof(void*) to the above I wouldn't be surprised if you find you have a 32 bit executable and need a command lineoption to create a 64 bit executable.
yep void * returns 4. I'm sure there is a compile option, but I couldn't see it at a quick glance. However the point is made that if you're writing C that might be ported......
P. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html