aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.