aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/screen.cpp
diff options
context:
space:
mode:
authorMax Horn2011-05-09 14:42:45 +0200
committerMax Horn2011-05-09 14:42:45 +0200
commit389b613190f14c7462043b75e84217633141149b (patch)
tree373d91716ddc8a036c1660291eb254fe3898f22a /engines/sci/graphics/screen.cpp
parent76cf7bc907f7d8dafaddd01a42c843c6a06cd5f2 (diff)
downloadscummvm-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/screen.cpp')
-rw-r--r--engines/sci/graphics/screen.cpp2
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;
}