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/CEActionsSmartphone.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/CEActionsSmartphone.cpp')
-rw-r--r-- | backends/platform/wince/CEActionsSmartphone.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wince/CEActionsSmartphone.cpp b/backends/platform/wince/CEActionsSmartphone.cpp index 2cce288323..d2bc449dfc 100644 --- a/backends/platform/wince/CEActionsSmartphone.cpp +++ b/backends/platform/wince/CEActionsSmartphone.cpp @@ -202,7 +202,7 @@ CEActionsSmartphone::~CEActionsSmartphone() { bool CEActionsSmartphone::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) { |