diff options
author | Paul Gilbert | 2009-02-15 10:32:06 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-02-15 10:32:06 +0000 |
commit | 4e66e6db70cfee879f2498550a8d5878f9a23b99 (patch) | |
tree | db2470766d2a059cea66254292beda6bd3a9e169 | |
parent | 1dcc6b79c9ba6d90cc6a17a26ee1c681b48e21ec (diff) | |
download | scummvm-rg350-4e66e6db70cfee879f2498550a8d5878f9a23b99.tar.gz scummvm-rg350-4e66e6db70cfee879f2498550a8d5878f9a23b99.tar.bz2 scummvm-rg350-4e66e6db70cfee879f2498550a8d5878f9a23b99.zip |
Fixed compiler warning about loss of precision
svn-id: r38222
-rw-r--r-- | engines/groovie/detection.cpp | 2 | ||||
-rw-r--r-- | engines/groovie/groovie.cpp | 2 | ||||
-rw-r--r-- | engines/groovie/groovie.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/groovie/detection.cpp b/engines/groovie/detection.cpp index 0b9d7424bb..111ac737ae 100644 --- a/engines/groovie/detection.cpp +++ b/engines/groovie/detection.cpp @@ -206,7 +206,7 @@ public: bool GroovieMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const { if (gd) { - *engine = new GroovieEngine(syst, (GroovieGameDescription *)gd); + *engine = new GroovieEngine(syst, (const GroovieGameDescription *)gd); } return gd != 0; } diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp index d0b42506b8..f08091dac9 100644 --- a/engines/groovie/groovie.cpp +++ b/engines/groovie/groovie.cpp @@ -34,7 +34,7 @@ namespace Groovie { -GroovieEngine::GroovieEngine(OSystem *syst, GroovieGameDescription *gd) : +GroovieEngine::GroovieEngine(OSystem *syst, const GroovieGameDescription *gd) : Engine(syst), _gameDescription(gd), _debugger(NULL), _script(this), _resMan(NULL), _grvCursorMan(NULL), _videoPlayer(NULL), _musicPlayer(NULL), _graphicsMan(NULL), _waitingForInput(false) { diff --git a/engines/groovie/groovie.h b/engines/groovie/groovie.h index 008af42eeb..7a76248cf3 100644 --- a/engines/groovie/groovie.h +++ b/engines/groovie/groovie.h @@ -70,7 +70,7 @@ struct GroovieGameDescription { class GroovieEngine : public Engine { public: - GroovieEngine(OSystem *syst, GroovieGameDescription *gd); + GroovieEngine(OSystem *syst, const GroovieGameDescription *gd); ~GroovieEngine(); protected: @@ -98,7 +98,7 @@ public: GraphicsMan *_graphicsMan; private: - GroovieGameDescription *_gameDescription; + const GroovieGameDescription *_gameDescription; Debugger *_debugger; bool _waitingForInput; }; |