Gregory P. Smith 27cbcd6241 Fix the internals of our hash functions to used unsigned values during hash
computation as the overflow behavior of signed integers is undefined.

In practice we require compiling everything with -fwrapv which forces overflow
to be defined as twos compliment but this keeps the code cleaner for checkers
or in the case where someone has compiled it without -fwrapv or their
compiler's equivalent.

Found by Clang trunk's Undefined Behavior Sanitizer (UBSan).

Cleanup only - no functionality or hash values change.
2012-12-10 18:15:46 -08:00
..
2011-03-16 11:35:38 +02:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2012-04-11 12:46:24 +02:00
2010-12-03 20:14:31 +00:00
2011-03-16 11:35:38 +02:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00
2010-12-03 20:14:31 +00:00