diff --git a/code/StreamReader.h b/code/StreamReader.h index 8d40922e0..8301d1b27 100644 --- a/code/StreamReader.h +++ b/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");