From 7fd6b3916fce8a61b2235ad720bd7fa7b40a7914 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 25 Jun 2008 18:11:17 +0000 Subject: GCC Fixes svn-id: r32788 --- common/xmlparser.h | 6 +++--- 1 file 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. -- cgit v1.2.3