From 49dd99a7c64e61e06789556e8cf459d109055e07 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 22 Sep 2006 21:16:44 +0000 Subject: More 64bit fixes. --- src/cache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cache.cpp') 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 ) } } - ar << mIndex.size(); + ar << (uint32_t)mIndex.size(); uint32_t cnt = 0; for( std::map::iterator i = mIndex.begin(); i != mIndex.end(); i++ ) @@ -91,7 +91,7 @@ void Cache::serialize( class Serializer &ar ) ar << s; } - ar << mCache.size(); + ar << (uint32_t)mCache.size(); for( std::map::iterator i = mCache.begin(); i != mCache.end(); i++ ) { -- cgit v1.2.3