GCC Fixes

svn-id: r32788
This commit is contained in:
Vicent Marti 2008-06-25 18:11:17 +00:00
parent 917b750839
commit 7fd6b3916f

View file

@ -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.