aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2010-08-03 15:33:35 +0000
committerMatthew Hoops2010-08-03 15:33:35 +0000
commit20002588e66036fc992d60d44381a53650fd9d01 (patch)
tree4695731001aafbfd641c9dbcbfb51ea9ceb72a8c /engines
parentb149ca89d518feb470ffc71893c5e0717b7482da (diff)
downloadscummvm-rg350-20002588e66036fc992d60d44381a53650fd9d01.tar.gz
scummvm-rg350-20002588e66036fc992d60d44381a53650fd9d01.tar.bz2
scummvm-rg350-20002588e66036fc992d60d44381a53650fd9d01.zip
SCI: Hopefully fix signedness warning with some compilers
svn-id: r51699
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index a6899e4ef0..4bf26ff0bf 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -757,7 +757,7 @@ void ChunkResourceSource::scanSource(ResourceManager *resMan) {
if (!firstOffset)
firstOffset = entry.offset;
- if ((ptr - chunk->data) >= firstOffset)
+ if ((size_t)(ptr - chunk->data) >= firstOffset)
break;
}
}