aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2009-03-21 15:13:02 +0000
committerNicola Mettifogo2009-03-21 15:13:02 +0000
commitc3bac3d851c25a0a1389d97fc24f8f1c56d6d87a (patch)
tree3a7946773a43179754508c3eacb2f8d8886012ff
parent8f57c621d2e99c7eef2541d902747020f5d5391a (diff)
downloadscummvm-rg350-c3bac3d851c25a0a1389d97fc24f8f1c56d6d87a.tar.gz
scummvm-rg350-c3bac3d851c25a0a1389d97fc24f8f1c56d6d87a.tar.bz2
scummvm-rg350-c3bac3d851c25a0a1389d97fc24f8f1c56d6d87a.zip
Fix build.
svn-id: r39586
-rw-r--r--engines/parallaction/disk_ns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/disk_ns.cpp b/engines/parallaction/disk_ns.cpp
index 67d928c259..8a29cdb11d 100644
--- a/engines/parallaction/disk_ns.cpp
+++ b/engines/parallaction/disk_ns.cpp
@@ -974,7 +974,7 @@ public:
return 0;
}
- uint32 count = MIN(size / sizeof(PaletteFxRange), num);
+ uint32 count = MIN((uint32)(size / sizeof(PaletteFxRange)), num);
_parser.loadIFFBlock(ID_CRNG, ranges, count * sizeof(PaletteFxRange));
for (uint32 i = 0; i < count; ++i) {