aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/math/regionregistry.cpp
diff options
context:
space:
mode:
authorRichieSams2013-09-29 18:04:53 -0500
committerRichieSams2013-09-29 18:04:53 -0500
commit49d67caa31583478b1b58df19b5739f42d5a4573 (patch)
treefaa9ee3e3e9346eedccaf44bbfeb054164223e0a /engines/sword25/math/regionregistry.cpp
parent07c32312146bb7fe5adec41f03a2463893756361 (diff)
parent1c3202794ad71e59e9496b94ac51f102f8210b54 (diff)
downloadscummvm-rg350-49d67caa31583478b1b58df19b5739f42d5a4573.tar.gz
scummvm-rg350-49d67caa31583478b1b58df19b5739f42d5a4573.tar.bz2
scummvm-rg350-49d67caa31583478b1b58df19b5739f42d5a4573.zip
Merge branch 'master' into zvision
Diffstat (limited to 'engines/sword25/math/regionregistry.cpp')
-rw-r--r--engines/sword25/math/regionregistry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/math/regionregistry.cpp b/engines/sword25/math/regionregistry.cpp
index 68c360a5ee..e4925f7baf 100644
--- a/engines/sword25/math/regionregistry.cpp
+++ b/engines/sword25/math/regionregistry.cpp
@@ -47,7 +47,7 @@ bool RegionRegistry::persist(OutputPersistenceBlock &writer) {
writer.write(_nextHandle);
// Number of regions to write
- writer.write(_handle2PtrMap.size());
+ writer.write((uint32)_handle2PtrMap.size());
// Persist all the BS_Regions
HANDLE2PTR_MAP::const_iterator iter = _handle2PtrMap.begin();
@@ -76,13 +76,13 @@ bool RegionRegistry::unpersist(InputPersistenceBlock &reader) {
delete _handle2PtrMap.begin()->_value;
// read in the number of BS_Regions
- uint regionCount;
+ uint32 regionCount;
reader.read(regionCount);
// Restore all the BS_Regions objects
for (uint i = 0; i < regionCount; ++i) {
// Handle read
- uint handle;
+ uint32 handle;
reader.read(handle);
// BS_Region restore