]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/memory.h
Wrap seek in a helper function and make it compatible with 64-bit offsets
[libs/core.git] / source / io / memory.h
index ebd57eda09d1af492d32df338737edac7eb98fc1..ca92a7588a7ab406498b691682e7bfcc7be03d5b 100644 (file)
@@ -28,8 +28,8 @@ public:
        virtual bool getline(std::string &);
        virtual int get();
 
-       virtual unsigned seek(int, SeekType);
-       virtual unsigned tell() const { return pos-begin; }
+       virtual SeekOffset seek(SeekOffset, SeekType);
+       virtual SeekOffset tell() const { return pos-begin; }
 
 private:
        void check_mode(Mode) const;