]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/memory.cpp
Wrap seek in a helper function and make it compatible with 64-bit offsets
[libs/core.git] / source / io / memory.cpp
index af6ef3d44ce386ce2bd7d2caaf8b1a8de24a9fa7..4a6296b44a907321a5e04a585e229523ff7caf86 100644 (file)
@@ -88,7 +88,7 @@ int Memory::get()
        return static_cast<unsigned char>(*pos++);
 }
 
-unsigned Memory::seek(int off, SeekType type)
+SeekOffset Memory::seek(SeekOffset off, SeekType type)
 {
        char *new_pos;
        if(type==S_BEG)