aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAndrew Kurushin2005-04-16 17:05:14 +0000
committerAndrew Kurushin2005-04-16 17:05:14 +0000
commitb31ee93c75be5b715d282a36f01502e0fe293610 (patch)
tree1d9a1732f05be13c272555aeb1349a89876b5c3b /common
parent8ef991fe4a489d0baf196d450cef7ab6edee8530 (diff)
downloadscummvm-rg350-b31ee93c75be5b715d282a36f01502e0fe293610.tar.gz
scummvm-rg350-b31ee93c75be5b715d282a36f01502e0fe293610.tar.bz2
scummvm-rg350-b31ee93c75be5b715d282a36f01502e0fe293610.zip
vc compile warn
svn-id: r17637
Diffstat (limited to 'common')
-rw-r--r--common/savefile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/savefile.cpp b/common/savefile.cpp
index 96c6ed07d2..02234a9a78 100644
--- a/common/savefile.cpp
+++ b/common/savefile.cpp
@@ -73,8 +73,8 @@ public:
::fclose(fh);
}
- bool readingFailed() const { return ferror(fh); }
- bool writingFailed() const { return ferror(fh); }
+ bool readingFailed() const { return ferror(fh) != 0; }
+ bool writingFailed() const { return ferror(fh) != 0; }
bool isOpen() const { return fh != 0; }
uint32 read(void *buf, uint32 cnt) {