aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/object.cpp2
-rw-r--r--simon/simon.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index d82fd54264..073f773372 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -657,7 +657,7 @@ void Scumm::setupRoomObject(ObjectData *od, byte *room, byte *searchptr)
od->y_pos = (int)READ_LE_UINT32(&imhd->v8.y_pos);
od->width = (uint)READ_LE_UINT32(&imhd->v8.width);
od->height = (uint)READ_LE_UINT32(&imhd->v8.height);
- od->actordir = READ_LE_UINT32(&imhd->v8.actordir);
+ od->actordir = (byte)READ_LE_UINT32(&imhd->v8.actordir);
} else if (_features & GF_AFTER_V7) {
od->obj_nr = READ_LE_UINT16(&(cdhd->v7.obj_id));
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 33bb77d587..50a9d06f5e 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -191,7 +191,7 @@ SimonState::SimonState(GameDetector *detector, OSystem *syst)
driver = MidiDriver_NULL_create();
midi.set_driver(driver);
- _game = detector->_features;
+ _game = (byte)detector->_features;
/* Setup mixer */
if (!_mixer->bindToSystem(syst))