diff options
author | Max Horn | 2002-09-13 12:16:03 +0000 |
---|---|---|
committer | Max Horn | 2002-09-13 12:16:03 +0000 |
commit | fd91bb67dc9c1d1eac30b58bcbeb7529e40e2566 (patch) | |
tree | 7a20900f645fd2b708c68ae915641205f980a725 /common/file.cpp | |
parent | ecdb98a0eea111bf0c464fbea3aefa8a102590fc (diff) | |
download | scummvm-rg350-fd91bb67dc9c1d1eac30b58bcbeb7529e40e2566.tar.gz scummvm-rg350-fd91bb67dc9c1d1eac30b58bcbeb7529e40e2566.tar.bz2 scummvm-rg350-fd91bb67dc9c1d1eac30b58bcbeb7529e40e2566.zip |
ugh! yes, negative offsets for seek do occur! Thus using an unsigned isn't such a good choice for the offset parameter
svn-id: r4927
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index df0df9c5f2..b111975795 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -138,7 +138,7 @@ uint32 File::pos() { return ftell(_handle); } -void File::seek(uint32 offs, int whence) { +void File::seek(int32 offs, int whence) { if (_handle == NULL) { error("File is not open!"); return; |