From f9a0cbbf95f2e1121f97ad4a33cc710d9e285198 Mon Sep 17 00:00:00 2001 From: cutealien Date: Tue, 11 Apr 2023 13:19:12 +0000 Subject: [PATCH] Avoid warning in VS 2022 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6460 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/COpenGLDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Irrlicht/COpenGLDriver.cpp b/source/Irrlicht/COpenGLDriver.cpp index 26757923..0ae5a86f 100644 --- a/source/Irrlicht/COpenGLDriver.cpp +++ b/source/Irrlicht/COpenGLDriver.cpp @@ -804,7 +804,7 @@ IRenderTarget* COpenGLDriver::addRenderTarget() // 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; }