From 9995b99e160dcf6aabd893a490cbc95bc736f00f Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Mon, 2 Oct 2017 15:00:58 +0200 Subject: fix some thinkos in the new hash code pointed out by Tux on irc. I dont think this will solve all his problems, but it is a first step.... --- zaphod32_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zaphod32_hash.h') diff --git a/zaphod32_hash.h b/zaphod32_hash.h index 842b2473f9..353d85b3f3 100644 --- a/zaphod32_hash.h +++ b/zaphod32_hash.h @@ -184,7 +184,7 @@ U32 zaphod32_hash_with_state( ) { U32 *state= (U32 *)state_ch; const U8 *end; - U32 len = key_len; + STRLEN len = key_len; U32 v0= state[0]; U32 v1= state[1]; U32 v2= state[2] ^ (0xC41A7AB1 * (key_len + 1)); -- cgit v1.2.1