From: Christos Tsantilas Date: Thu, 26 Jul 2012 17:36:58 +0000 (+0300) Subject: Merged Postfix-Prefix branch: Fix decrement operator in hash4 function(lib/hash.c) X-Git-Tag: sourceformat-review-1~159 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a08d350ea22ffb48e5b8383fde3f884c8aed04cf;p=thirdparty%2Fsquid.git 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. --- 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;