summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index c4af1db64ada..5d4b8f77a9c1 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -210,9 +210,9 @@ namespace
OString::number( aInfo.GetWindowsVersion() ) );
#else
static const OString aDeviceInfo (
- OString( (const char*)(glGetString(GL_VENDOR)) ) +
- OString( (const char*)(glGetString(GL_RENDERER)) ) +
- OString( (const char*)(glGetString(GL_VERSION)) ) );
+ OString( reinterpret_cast<const char*>(glGetString(GL_VENDOR)) ) +
+ OString( reinterpret_cast<const char*>(glGetString(GL_RENDERER)) ) +
+ OString( reinterpret_cast<const char*>(glGetString(GL_VERSION)) ) );
#endif
OString aMessage;