2
0
Эх сурвалжийг харах

Fixed parameter type mismatch in StreamReader.

Sherief Farouk 12 жил өмнө
parent
commit
a90e208e6d

+ 1 - 1
code/StreamReader.h

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