Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-03-24 13:25:07


Author: danieljames
Date: 2008-03-24 13:25:07 EDT (Mon, 24 Mar 2008)
New Revision: 43840
URL: http://svn.boost.org/trac/boost/changeset/43840

Log:
Fix a g++ warning.
Text files modified:
   branches/unordered/trunk/libs/unordered/examples/hash_functions/fnv-1.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/examples/hash_functions/fnv-1.hpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/examples/hash_functions/fnv-1.hpp (original)
+++ branches/unordered/trunk/libs/unordered/examples/hash_functions/fnv-1.hpp 2008-03-24 13:25:07 EDT (Mon, 24 Mar 2008)
@@ -55,7 +55,7 @@
     // 128 bit FNV_prime = 309485009821345068724781401
     // 256 bit FNV_prime = 374144419156711147060143317175368453031918731002211
 
- const std::size_t fnv_offset_bias = 2166136261;
+ const std::size_t fnv_offset_bias = 2166136261u;
     // 64 bit offset_basis = 14695981039346656037
     // 128 bit offset_basis = 275519064689413815358837431229664493455
     // 256 bit offset_basis = 100029257958052580907070968620625704837092796014241193945225284501741471925557


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk