projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[cppcheck] Part 2: Some further style fixes etc.
[supertux.git]
/
src
/
video
/
gl
/
gl_lightmap.cpp
diff --git
a/src/video/gl/gl_lightmap.cpp
b/src/video/gl/gl_lightmap.cpp
index
b5251e0
..
97cf70a
100644
(file)
--- a/
src/video/gl/gl_lightmap.cpp
+++ b/
src/video/gl/gl_lightmap.cpp
@@
-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++)