aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/resource.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-15 16:45:39 +0000
committerFilippos Karapetis2009-02-15 16:45:39 +0000
commit06186502b2bfa413e7d09c12ed691e9bcf6acbaf (patch)
treea3bc8363648b5c194277084604b31fe9b91802f8 /engines/sci/scicore/resource.cpp
parentaff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8 (diff)
downloadscummvm-rg350-06186502b2bfa413e7d09c12ed691e9bcf6acbaf.tar.gz
scummvm-rg350-06186502b2bfa413e7d09c12ed691e9bcf6acbaf.tar.bz2
scummvm-rg350-06186502b2bfa413e7d09c12ed691e9bcf6acbaf.zip
Silenced more warnings
svn-id: r38267
Diffstat (limited to 'engines/sci/scicore/resource.cpp')
-rw-r--r--engines/sci/scicore/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/resource.cpp b/engines/sci/scicore/resource.cpp
index cd4faf3518..5a60ad1ad8 100644
--- a/engines/sci/scicore/resource.cpp
+++ b/engines/sci/scicore/resource.cpp
@@ -244,7 +244,7 @@ _scir_init_trivial(resource_mgr_t *mgr)
static void
_scir_load_from_patch_file(int fh, resource_t *res, char *filename)
{
- int really_read;
+ unsigned int really_read;
res->data = (unsigned char*)sci_malloc(res->size);
really_read = read(fh, res->data, res->size);