Fixed parameter type mismatch in StreamReader.
parent
c8428fa67a
commit
a90e208e6d
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue