diff options
author | Max Horn | 2011-05-09 14:42:45 +0200 |
---|---|---|
committer | Max Horn | 2011-05-09 14:42:45 +0200 |
commit | 389b613190f14c7462043b75e84217633141149b (patch) | |
tree | 373d91716ddc8a036c1660291eb254fe3898f22a /engines/sci/graphics | |
parent | 76cf7bc907f7d8dafaddd01a42c843c6a06cd5f2 (diff) | |
download | scummvm-rg350-389b613190f14c7462043b75e84217633141149b.tar.gz scummvm-rg350-389b613190f14c7462043b75e84217633141149b.tar.bz2 scummvm-rg350-389b613190f14c7462043b75e84217633141149b.zip |
SCI: Fix warning about potential strict-aliasing rules violation
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index aa4ee0b638..56e6759fac 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -630,7 +630,7 @@ void GfxScreen::enableUndithering(bool flag) { int16 *GfxScreen::unditherGetDitheredBgColors() { if (_unditheringEnabled) - return (int16 *)&_ditheredPicColors; + return _ditheredPicColors; else return NULL; } |