diff options
author | Eugene Sandulenko | 2011-11-02 23:54:48 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2011-11-02 23:54:48 +0000 |
commit | 3bd615ae9b78ded9a51b7320a602f1c46c9f57ef (patch) | |
tree | 9d6a907c4e67f1fa05b81363c5c5842ae652677f /engines/lastexpress | |
parent | c8bc4e37a83e01b149bef85f391b5d7e99c4bf0d (diff) | |
download | scummvm-rg350-3bd615ae9b78ded9a51b7320a602f1c46c9f57ef.tar.gz scummvm-rg350-3bd615ae9b78ded9a51b7320a602f1c46c9f57ef.tar.bz2 scummvm-rg350-3bd615ae9b78ded9a51b7320a602f1c46c9f57ef.zip |
LASTEXPRESS: Fix incorrect read() call
Diffstat (limited to 'engines/lastexpress')
-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); |