Hi Paul, On Thu, Nov 22, 2007 at 10:37:41AM +0100, Paul Melis wrote: > #ifdef <32 bit> > typedef unsigned int pointer; > #elif <64> > typedef unsigned long int pointer; > #endif
Be aware, Windows uses the LLP64 model (http://www.ibm.com/developerworks/linux/library/l-port64.html), so you need in this case a 'long long'. There are two new types for holding pointers as integers 'intptr_t' and 'uintptr_t'. But 'size_t' should also work on all platforms (unix, win, 32bit and 64bit). Cheers, Daniel -- Daniel Trstenjak Tel. +49 (0)7071-9457-264 science + computing ag FAX +49 (0)7071-9457-511 Hagellocher Weg 73 mailto: [EMAIL PROTECTED] D-72070 Tübingen WWW : http://www.science-computing.de/ -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Florian Geyer, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Prof. Dr. Hanns Ruder Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

