aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/script.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-15 14:26:33 +0000
committerFilippos Karapetis2009-02-15 14:26:33 +0000
commit24dc986944b1c663b0903965da482a5c03a9aa14 (patch)
tree10bed1561d1331d27b9eb22c405d07106f798d18 /engines/sci/scicore/script.cpp
parentc3cd2b7f064ab34e668c4db58d6d7462841fa844 (diff)
downloadscummvm-rg350-24dc986944b1c663b0903965da482a5c03a9aa14.tar.gz
scummvm-rg350-24dc986944b1c663b0903965da482a5c03a9aa14.tar.bz2
scummvm-rg350-24dc986944b1c663b0903965da482a5c03a9aa14.zip
Silenced a ton of warnings, and disabled several unreferenced functions (dead code) - hopefully, compilation hasn't been broken...
svn-id: r38243
Diffstat (limited to 'engines/sci/scicore/script.cpp')
-rw-r--r--engines/sci/scicore/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/script.cpp b/engines/sci/scicore/script.cpp
index b3d977e5ad..b54c0e52c3 100644
--- a/engines/sci/scicore/script.cpp
+++ b/engines/sci/scicore/script.cpp
@@ -363,7 +363,7 @@ script_dissect(resource_mgr_t *resmgr, int res_no, char **snames, int snames_nr)
while (_seeker < script->size) {
int objtype = getInt16(script->data + _seeker);
int objsize;
- int seeker = _seeker + 4;
+ unsigned int seeker = _seeker + 4;
if (!objtype) {
sciprintf("End of script object (#0) encountered.\n");