#66 Compile Error on AMD64 with Miniviewer

open
nobody
5
2006-02-16
2006-02-16
Anonymous
No

viewer.cpp:854: error: cast from ‘void*’ to ‘GLuint’
loses precision

I'm sure most of the developers know this already, but
for the sake of being complete: On 64 bit platforms a
pointer is 64 bits, while GLuint is still 32 bits.

To be complete: I'm running Ubuntu Breezy and g++ 4.0.2

Discussion