diff options
author | Max Horn | 2009-02-21 21:16:41 +0000 |
---|---|---|
committer | Max Horn | 2009-02-21 21:16:41 +0000 |
commit | ff17899d8ef0a9bf82334819444646b4c323b29e (patch) | |
tree | 06289cbe5b36c014ea52dc2eb376431d6fc2c9ba /engines/sci/engine/kstring.cpp | |
parent | 2acb44d1574abb831c99e11f52f6f956d40b6d8b (diff) | |
download | scummvm-rg350-ff17899d8ef0a9bf82334819444646b4c323b29e.tar.gz scummvm-rg350-ff17899d8ef0a9bf82334819444646b4c323b29e.tar.bz2 scummvm-rg350-ff17899d8ef0a9bf82334819444646b4c323b29e.zip |
SCI: Got rid of include/scitypes.h
svn-id: r38746
Diffstat (limited to 'engines/sci/engine/kstring.cpp')
-rw-r--r-- | engines/sci/engine/kstring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp index 8ef4f55ed9..55a86fcdda 100644 --- a/engines/sci/engine/kstring.cpp +++ b/engines/sci/engine/kstring.cpp @@ -451,9 +451,9 @@ reg_t kReadNumber(EngineState *s, int funct_nr, int argc, reg_t *argv) { source++; /* Skip whitespace */ if (*source == '$') /* SCI uses this for hex numbers */ - return make_reg(0, (gint16)strtol(source + 1, NULL, 16)); /* Hex */ + return make_reg(0, (int16)strtol(source + 1, NULL, 16)); /* Hex */ else - return make_reg(0, (gint16)strtol(source, NULL, 10)); /* Force decimal */ + return make_reg(0, (int16)strtol(source, NULL, 10)); /* Force decimal */ } |