aboutsummaryrefslogtreecommitdiff
path: root/common/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/stream.h')
-rw-r--r--common/stream.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/stream.h b/common/stream.h
index 43e41af7ff..16b129d9c4 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -216,7 +216,9 @@ public:
virtual uint32 pos() const = 0;
virtual uint32 size() const = 0;
- virtual void seek(int32 offs, int whence = SEEK_SET) = 0;
+ virtual void seek(int32 offset, int whence = SEEK_SET) = 0;
+
+ void skip(uint32 offset) { seek(offset, SEEK_CUR); }
/**
* Read one line of text from a CR or CR/LF terminated plain text file.