aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/dbase.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-01-31 14:08:33 +0000
committerSven Hesse2011-01-31 14:08:33 +0000
commit7cb4b49db961590700d6181da80d73201d76f053 (patch)
tree1cc9cd02fbd2caf633d8e4d0d99d85162ac2f76f /engines/gob/dbase.cpp
parentdce4f404e6639861bc1a4ec1c26b9bfadeaa538d (diff)
downloadscummvm-rg350-7cb4b49db961590700d6181da80d73201d76f053.tar.gz
scummvm-rg350-7cb4b49db961590700d6181da80d73201d76f053.tar.bz2
scummvm-rg350-7cb4b49db961590700d6181da80d73201d76f053.zip
GOB: Fix a compiler warning
svn-id: r55684
Diffstat (limited to 'engines/gob/dbase.cpp')
-rw-r--r--engines/gob/dbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/dbase.cpp b/engines/gob/dbase.cpp
index ce6c748663..3aee136187 100644
--- a/engines/gob/dbase.cpp
+++ b/engines/gob/dbase.cpp
@@ -68,7 +68,7 @@ bool dBase::load(Common::SeekableReadStream &stream) {
while (!stream.eos() && !stream.err() && (stream.readByte() != 0x0D)) {
Field field;
- stream.skip(-1);
+ stream.seek(-1, SEEK_CUR);
field.name = readString(stream, 11);
field.type = (Type) stream.readByte();