diff options
author | Yves Orton <demerphq@gmail.com> | 2017-10-02 15:00:58 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2017-10-02 15:00:58 +0200 |
commit | 9995b99e160dcf6aabd893a490cbc95bc736f00f (patch) | |
tree | b280512ff85ed0132fcfe917177417bf9d2145dc /zaphod32_hash.h | |
parent | 582a8ad99532af5c8db4e42c8880618fbce41c6d (diff) | |
download | perl-9995b99e160dcf6aabd893a490cbc95bc736f00f.tar.gz |
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....
Diffstat (limited to 'zaphod32_hash.h')
-rw-r--r-- | zaphod32_hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |