aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorVicent Marti2008-06-25 18:11:17 +0000
committerVicent Marti2008-06-25 18:11:17 +0000
commit7fd6b3916fce8a61b2235ad720bd7fa7b40a7914 (patch)
treeb9737c0b2f9a0251df2d3789424e97c25d41e3dd /common
parent917b750839282f768178d8436d54deda3078a1f6 (diff)
downloadscummvm-rg350-7fd6b3916fce8a61b2235ad720bd7fa7b40a7914.tar.gz
scummvm-rg350-7fd6b3916fce8a61b2235ad720bd7fa7b40a7914.tar.bz2
scummvm-rg350-7fd6b3916fce8a61b2235ad720bd7fa7b40a7914.zip
GCC Fixes
svn-id: r32788
Diffstat (limited to 'common')
-rw-r--r--common/xmlparser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/xmlparser.h b/common/xmlparser.h
index 548b9cf3e2..bfbc03b97b 100644
--- a/common/xmlparser.h
+++ b/common/xmlparser.h
@@ -66,9 +66,9 @@ public:
return _stream->readSByte();
}
- void loadStream(SeekableReadStream *stream) {
+ void loadStream(SeekableReadStream *s) {
delete _stream;
- _stream = stream;
+ _stream = s;
}
};
@@ -195,7 +195,7 @@ protected:
* Parser error always returns "false" so we can pass the return value directly
* and break down the parsing.
*/
- virtual bool parserError(const char *errorString, ...) GCC_PRINTF(1, 2);
+ virtual bool parserError(const char *errorString, ...) GCC_PRINTF(2, 3);
/**
* Skips spaces/whitelines etc. Returns true if any spaces were skipped.