[Scummvm-cvs-logs] SF.net SVN: scummvm: [32788] scummvm/branches/gsoc2008-gui/common/xmlparser .h

Tanoku at users.sourceforge.net Tanoku at users.sourceforge.net
Wed Jun 25 20:11:17 CEST 2008


Revision: 32788
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32788&view=rev
Author:   Tanoku
Date:     2008-06-25 11:11:17 -0700 (Wed, 25 Jun 2008)

Log Message:
-----------
GCC Fixes

Modified Paths:
--------------
    scummvm/branches/gsoc2008-gui/common/xmlparser.h

Modified: scummvm/branches/gsoc2008-gui/common/xmlparser.h
===================================================================
--- scummvm/branches/gsoc2008-gui/common/xmlparser.h	2008-06-25 17:56:00 UTC (rev 32787)
+++ scummvm/branches/gsoc2008-gui/common/xmlparser.h	2008-06-25 18:11:17 UTC (rev 32788)
@@ -66,9 +66,9 @@
 		return _stream->readSByte();
 	}
 
-	void loadStream(SeekableReadStream *stream) {
+	void loadStream(SeekableReadStream *s) {
 		delete _stream;
-		_stream = stream;
+		_stream = s;
 	}
 };
 
@@ -195,7 +195,7 @@
 	 * 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.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list