aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-22 21:16:44 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-22 21:16:44 +0000
commit49dd99a7c64e61e06789556e8cf459d109055e07 (patch)
treec1298ba4df14347b06310026d80a545eb011fb94
parent959956db1d4e5f2e9ecbc3b131a86d50873dd4e9 (diff)
downloadbuild-49dd99a7c64e61e06789556e8cf459d109055e07.tar.gz
build-49dd99a7c64e61e06789556e8cf459d109055e07.tar.bz2
build-49dd99a7c64e61e06789556e8cf459d109055e07.tar.xz
build-49dd99a7c64e61e06789556e8cf459d109055e07.zip
More 64bit fixes.
-rw-r--r--src/cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache.cpp b/src/cache.cpp
index acfd368..6b6dfc9 100644
--- a/src/cache.cpp
+++ b/src/cache.cpp
@@ -80,7 +80,7 @@ void Cache::serialize( class Serializer &ar )
80 } 80 }
81 } 81 }
82 82
83 ar << mIndex.size(); 83 ar << (uint32_t)mIndex.size();
84 uint32_t cnt = 0; 84 uint32_t cnt = 0;
85 for( std::map<std::string, uint32_t>::iterator i = mIndex.begin(); 85 for( std::map<std::string, uint32_t>::iterator i = mIndex.begin();
86 i != mIndex.end(); i++ ) 86 i != mIndex.end(); i++ )
@@ -91,7 +91,7 @@ void Cache::serialize( class Serializer &ar )
91 ar << s; 91 ar << s;
92 } 92 }
93 93
94 ar << mCache.size(); 94 ar << (uint32_t)mCache.size();
95 for( std::map<std::string, Entry *>::iterator i = mCache.begin(); 95 for( std::map<std::string, Entry *>::iterator i = mCache.begin();
96 i != mCache.end(); i++ ) 96 i != mCache.end(); i++ )
97 { 97 {