diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lastexpress/game/savegame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/game/savegame.cpp b/engines/lastexpress/game/savegame.cpp index 57c18b5697..e5b84ea6de 100644 --- a/engines/lastexpress/game/savegame.cpp +++ b/engines/lastexpress/game/savegame.cpp @@ -158,7 +158,7 @@ void SaveLoad::loadStream(GameId id) { while (!save->eos() && !save->err()) { _engine->pollEvents(); - uint32 count = save->read(buf, sizeof(buf)); + uint32 count = save->read(buf, sizeof(*buf)); if (count) { uint32 w = _savegame->write(buf, count); assert (w == count); |