aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2007-09-24 17:15:21 +0000
committerJohannes Schickel2007-09-24 17:15:21 +0000
commit28ef622faa5f3f4bc01f8a3967064e6c0116604f (patch)
treee3aed4fe52725d32037f8d1c1350b4b9b0438fb1
parent88da0d4d0095827cef5c9fc07ec7c29bd44e465f (diff)
downloadscummvm-rg350-28ef622faa5f3f4bc01f8a3967064e6c0116604f.tar.gz
scummvm-rg350-28ef622faa5f3f4bc01f8a3967064e6c0116604f.tar.bz2
scummvm-rg350-28ef622faa5f3f4bc01f8a3967064e6c0116604f.zip
Silence warning.
svn-id: r29087
-rw-r--r--backends/events/default/default-events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index 7f484a73d4..d5d62b6da0 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -254,7 +254,7 @@ bool DefaultEventManager::playback(Common::Event &event) {
if (!_hasPlaybackEvent) {
if (_recordCount > _playbackCount) {
- readRecord(_playbackFile, (uint32&)_playbackDiff, _playbackEvent);
+ readRecord(_playbackFile, const_cast<uint32&>(_playbackDiff), _playbackEvent);
_playbackCount++;
_hasPlaybackEvent = true;
}