aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-03-26 19:31:36 +0000
committerMax Horn2007-03-26 19:31:36 +0000
commita84851174316f841123b26df19a097f692cb7f36 (patch)
treea072a68fe5cf5e0b347e3fa9a220b127b4b9649f
parentfb9b9863e3815daa1ec2c9a37bfe7db6ff9f6e6f (diff)
downloadscummvm-rg350-a84851174316f841123b26df19a097f692cb7f36.tar.gz
scummvm-rg350-a84851174316f841123b26df19a097f692cb7f36.tar.bz2
scummvm-rg350-a84851174316f841123b26df19a097f692cb7f36.zip
Fix compile error in the DC port
svn-id: r26306
-rw-r--r--backends/platform/dc/input.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/dc/input.cpp b/backends/platform/dc/input.cpp
index 08d3c95e9f..6d0bd4663e 100644
--- a/backends/platform/dc/input.cpp
+++ b/backends/platform/dc/input.cpp
@@ -219,7 +219,7 @@ bool OSystem_Dreamcast::pollEvent(Common::Event &event)
}
event.kbd.ascii = event.kbd.keycode = 0;
if(e<0) {
- event.type = (EventType)-e;
+ event.type = (Common::EventType)-e;
return true;
} else if(e>0) {
bool processed = false, down = !(e&(1<<30));
@@ -242,7 +242,7 @@ bool OSystem_Dreamcast::pollEvent(Common::Event &event)
_ms_old_y = _ms_cur_y;
return true;
} else {
- event.type = (EventType)0;
+ event.type = (Common::EventType)0;
return false;
}
}