From 31ead732224022892db26ac28e505c46f91bd0e0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 24 Sep 2011 03:08:52 +0000 Subject: Fixed a 32/64 bit bug in the hash tables. --- src/hash.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/hash.h') diff --git a/src/hash.h b/src/hash.h index 9ac0b0c..71aec73 100644 --- a/src/hash.h +++ b/src/hash.h @@ -1273,7 +1273,8 @@ namespace Bu typename c, typename d> ArchiveBase &operator<<( ArchiveBase &ar, const Hash &h ) { - ar << h.getSize(); + long iSize = h.getSize(); + ar << iSize; for( typename Hash::const_iterator i = h.begin(); i != h.end(); i++ ) { ar << (i.getKey()); -- cgit v1.2.3