[cppcheck] Part 2: Some further style fixes etc.
[supertux.git] / src / video / gl / gl_lightmap.cpp
index b5251e0..97cf70a 100644 (file)
@@ -180,7 +180,7 @@ void
 GLLightmap::get_light(const DrawingRequest& request) const
 {
   const GetLightRequest* getlightrequest
-    = (GetLightRequest*) request.request_data;
+    = static_cast<GetLightRequest*>(request.request_data);
 
   float pixels[3];
   for( int i = 0; i<3; i++)