From e4fd2972e4e540d5ecc9eeba21c4464aae771c10 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 20 Jan 2015 11:24:13 +0100 Subject: Some more loplugin:cstylecast: slideshow Change-Id: I5cba157aa69b979a1e821f267f0560dd16533677 --- slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slideshow/source') 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(vendor), "ATI Technologies Inc." ) == 0 ); } CHECK_GL_ERROR(); } -- cgit