Ver Fonte

Fixed parameter type mismatch in StreamReader.

Sherief Farouk há 12 anos atrás
pai
commit
a90e208e6d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      code/StreamReader.h

+ 1 - 1
code/StreamReader.h

@@ -193,7 +193,7 @@ public:
 
 	// ---------------------------------------------------------------------
 	/** Increase the file pointer (relative seeking)  */
-	void IncPtr(int plus)	{
+	void IncPtr(size_t plus)	{
 		current += plus;
 		if (current > limit) {
 			throw DeadlyImportError("End of file or read limit was reached");