diff options
author | Torbjörn Andersson | 2008-03-26 21:58:56 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-03-26 21:58:56 +0000 |
commit | 762398376fd7a83ab42c4c5aff0058cc8ba94fa0 (patch) | |
tree | fbf944b05ac412dda10c50f109db466ccb53df73 /engines | |
parent | bf71af3c917e7112a52e479ef3336a0906d3b59b (diff) | |
download | scummvm-rg350-762398376fd7a83ab42c4c5aff0058cc8ba94fa0.tar.gz scummvm-rg350-762398376fd7a83ab42c4c5aff0058cc8ba94fa0.tar.bz2 scummvm-rg350-762398376fd7a83ab42c4c5aff0058cc8ba94fa0.zip |
Fixed GCC warning. It warns about "if (a = b)" unless you put an extra set of
parentheses around the assignment.
svn-id: r31255
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/saveload_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/saveload_v2.cpp b/engines/kyra/saveload_v2.cpp index 62cc11ca82..0da58233ff 100644 --- a/engines/kyra/saveload_v2.cpp +++ b/engines/kyra/saveload_v2.cpp @@ -136,7 +136,7 @@ void KyraEngine_v2::loadGame(const char *fileName) { Common::InSaveFile *in = openSaveForReading(fileName, version, saveName); if (!in) { // check for original savefile - if (in = _saveFileMan->openForLoading(fileName)) { + if ((in = _saveFileMan->openForLoading(fileName))) { in->seek(0x50, SEEK_CUR); uint8 type[4]; |