diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/guichan/sdl/sdlgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp index 482642e30..eae2bb035 100644 --- a/src/guichan/sdl/sdlgraphics.cpp +++ b/src/guichan/sdl/sdlgraphics.cpp @@ -227,7 +227,7 @@ namespace gcn { uint16_t* q = reinterpret_cast<uint16_t*>(p); for (; x1 <= x2; ++x1) - *(q++) = static_cast<uint8_t>(pixel); + *(q++) = pixel; break; } |