From a08d350ea22ffb48e5b8383fde3f884c8aed04cf Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Thu, 26 Jul 2012 20:36:58 +0300 Subject: [PATCH] Merged Postfix-Prefix branch: Fix decrement operator in hash4 function(lib/hash.c) The "Postfix-Prefix" patch code is not equivalent with the replaced code inside hash4 function. --- lib/hash.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hash.cc b/lib/hash.cc index f0e4980c8c..59366c4629 100644 --- a/lib/hash.cc +++ b/lib/hash.cc @@ -122,7 +122,8 @@ hash4(const void *data, unsigned int size) case 1: HASH4; } - while (--loop) { + while (loop) { + --loop; HASH4; HASH4; HASH4; -- 2.47.2