diff options
author | Willem Jan Palenstijn | 2009-10-04 22:26:57 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-10-04 22:26:57 +0000 |
commit | 632359c0b4d5b833233e27685516e92a5b91ed2c (patch) | |
tree | 2d2d5c985c8e14a83a8282e428e8ddda8924719c /engines/sci | |
parent | 92d0a9e17f293159af57918fa7dffae7dbd1528b (diff) | |
download | scummvm-rg350-632359c0b4d5b833233e27685516e92a5b91ed2c.tar.gz scummvm-rg350-632359c0b4d5b833233e27685516e92a5b91ed2c.tar.bz2 scummvm-rg350-632359c0b4d5b833233e27685516e92a5b91ed2c.zip |
SCI: Fix cast, constness
svn-id: r44640
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/gui/gui_view.cpp | 2 | ||||
-rw-r--r-- | engines/sci/gui/gui_view.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui_view.cpp b/engines/sci/gui/gui_view.cpp index 09ec82ac5d..7b5df78be3 100644 --- a/engines/sci/gui/gui_view.cpp +++ b/engines/sci/gui/gui_view.cpp @@ -63,7 +63,7 @@ void SciGUIview::initData(GUIResourceId resourceId) { bool IsEGA = false; _embeddedPal = false; - _EGAMapping = (byte *)&EGAMappingDefault; + _EGAMapping = EGAMappingDefault; _loopCount = 0; switch (_s->resMan->getViewType()) { diff --git a/engines/sci/gui/gui_view.h b/engines/sci/gui/gui_view.h index 9e151561f3..a34153c39b 100644 --- a/engines/sci/gui/gui_view.h +++ b/engines/sci/gui/gui_view.h @@ -77,7 +77,7 @@ private: sciViewLoopInfo *_loop; bool _embeddedPal; GUIPalette _palette; - byte *_EGAMapping; // simple translation map for all 16 colors + const byte *_EGAMapping; // simple translation map for all 16 colors }; } // End of namespace Sci |