}\r
\r
\r
-// small helper function to create vertex buffer object adress offsets\r
-static inline u8* buffer_offset(const long offset)\r
+// small helper function to create vertex buffer object address offsets\r
+static inline const GLvoid * buffer_offset(const long offset)\r
{\r
- return ((u8*)0 + offset);\r
+ return (const GLvoid *)offset;\r
}\r
\r
\r