Hi Radu, On Mon, Aug 21, 2006 at 04:05:34PM -0400, Radu Mihai wrote: > I think you might want to use a predefined/build-in value for casting > pointers, so that portability problems are avoided ( want something > that will work across platforms and arches) > > When I hit this problem I used 'size_t' as the type to cast pointers to. > Somebody more familiar with porting c++ code should confirm it's the > appropriate type to use.
For this purpose C++ has the type ptrdiff_t. Regards, Daniel _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/