diff options
author | RichieSams | 2013-09-29 18:04:53 -0500 |
---|---|---|
committer | RichieSams | 2013-09-29 18:04:53 -0500 |
commit | 49d67caa31583478b1b58df19b5739f42d5a4573 (patch) | |
tree | faa9ee3e3e9346eedccaf44bbfeb054164223e0a /engines/sword25/math/regionregistry.cpp | |
parent | 07c32312146bb7fe5adec41f03a2463893756361 (diff) | |
parent | 1c3202794ad71e59e9496b94ac51f102f8210b54 (diff) | |
download | scummvm-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.cpp | 6 |
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 |