Avoid warning in VS 2022

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6460 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2023-04-11 13:19:12 +00:00
parent a3adfc196b
commit f9a0cbbf95

View File

@ -804,7 +804,7 @@ IRenderTarget* COpenGLDriver::addRenderTarget()
// small helper function to create vertex buffer object address offsets // small helper function to create vertex buffer object address offsets
static inline const GLvoid * buffer_offset(const long offset) static inline const GLvoid * buffer_offset(const size_t offset)
{ {
return (const GLvoid *)offset; return (const GLvoid *)offset;
} }