[Scummvm-cvs-logs] SF.net SVN: scummvm: [31255] scummvm/trunk/engines/kyra/saveload_v2.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Wed Mar 26 22:58:56 CET 2008
Revision: 31255
http://scummvm.svn.sourceforge.net/scummvm/?rev=31255&view=rev
Author: eriktorbjorn
Date: 2008-03-26 14:58:56 -0700 (Wed, 26 Mar 2008)
Log Message:
-----------
Fixed GCC warning. It warns about "if (a = b)" unless you put an extra set of
parentheses around the assignment.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/saveload_v2.cpp
Modified: scummvm/trunk/engines/kyra/saveload_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/saveload_v2.cpp 2008-03-26 21:56:20 UTC (rev 31254)
+++ scummvm/trunk/engines/kyra/saveload_v2.cpp 2008-03-26 21:58:56 UTC (rev 31255)
@@ -136,7 +136,7 @@
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];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list