aboutsummaryrefslogtreecommitdiff
path: root/src/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.cpp')
-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 {