diff options
author | Johannes Schickel | 2014-01-24 03:28:45 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-01-24 03:28:45 +0100 |
commit | 495fa910d3161829125a5fe9953aeecf300c9857 (patch) | |
tree | 26b1d80770596caf269be036d9500bb0d223b965 /backends/platform/wince/CEActionsPocket.cpp | |
parent | 2fe303ce3fff008a58e9750c66e707ec4e7c93d8 (diff) | |
download | scummvm-rg350-495fa910d3161829125a5fe9953aeecf300c9857.tar.gz scummvm-rg350-495fa910d3161829125a5fe9953aeecf300c9857.tar.bz2 scummvm-rg350-495fa910d3161829125a5fe9953aeecf300c9857.zip |
WINCE: Attempt to fix WinCE compilation.
Diffstat (limited to 'backends/platform/wince/CEActionsPocket.cpp')
-rw-r--r-- | backends/platform/wince/CEActionsPocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wince/CEActionsPocket.cpp b/backends/platform/wince/CEActionsPocket.cpp index 5980a41caa..493a5e688c 100644 --- a/backends/platform/wince/CEActionsPocket.cpp +++ b/backends/platform/wince/CEActionsPocket.cpp @@ -236,7 +236,7 @@ CEActionsPocket::~CEActionsPocket() { bool CEActionsPocket::perform(GUI::ActionType action, bool pushed) { static bool keydialogrunning = false, quitdialog = false; - _graphicsMan = ((WINCESdlGraphicsManager *)((OSystem_SDL *)g_system)->getGraphicsManager()); + _graphicsMan = dynamic_cast<WINCESdlGraphicsManager *>(((OSystem_SDL *)g_system)->getGraphicsManager()); if (!pushed) { switch (action) { |