diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 11:24:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 11:24:51 +0100 |
commit | e4fd2972e4e540d5ecc9eeba21c4464aae771c10 (patch) | |
tree | 2cb883ad4b3c543a620ce917106a75de6e104dad /slideshow | |
parent | ea0bb58d98b651599dabf9a93f9568f46c3baeb1 (diff) |
Some more loplugin:cstylecast: slideshow
Change-Id: I5cba157aa69b979a1e821f267f0560dd16533677
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 754e7940b70f..a878b08c9f7e 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -337,7 +337,7 @@ void OGLTransitionerImpl::impl_initializeFlags( bool const bValidContext ) const GLubyte* vendor = glGetString( GL_VENDOR ); /* TODO: check for version once the bug in fglrx driver is fixed */ - mbBrokenTexturesATI = (vendor && strcmp( (const char *) vendor, "ATI Technologies Inc." ) == 0 ); + mbBrokenTexturesATI = (vendor && strcmp( reinterpret_cast<const char *>(vendor), "ATI Technologies Inc." ) == 0 ); } CHECK_GL_ERROR(); } |