/pal/sdlgl/sdlgl.h (v1.6) line 32: typedef unsigned long DWORD; line 124: DWORD *m_indices;
On 64bit system are these 64bit long, not 32bit. Use of "GLuint *m_indices;" works fine.