Not quite sure why it was done that way. Maybe to ensure we work with byte-pointers of correct size or something?
Anyway, this doesn't seem to be defined in c++, so let's try working with a cast instead.
Just something cppcheck tool complained about.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6447
dfc29bdd-3216-0410-991c-
e03cc46cb475
}\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