diff options
author | root <root> | 2009-12-14 02:05:14 +0000 |
---|---|---|
committer | root <root> | 2009-12-14 02:05:14 +0000 |
commit | f280629860026509e0fbec24f963b2e8ea7e431b (patch) | |
tree | 2e3226c0103497fa69a8631776cc004a51f370e9 | |
parent | 2ed86fd870010355652c5e41b380ece4ddb8c9bd (diff) |
*** empty log message ***
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | cs/CLZF.cs | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ + + - fixed hash calculation in C♯ version (Tiago Freitas Leal). + 3.5 Fri May 1 02:28:42 CEST 2009 - lzf_compress did sometimes write one octet past the given output buffer (analyzed and nice testcase by Salvatore Sanfilippo). @@ -138,7 +138,7 @@ namespace LZF.NET UInt32 IDX(UInt32 h) { - return ((h ^ (h << 5)) >> (int)(((3*8 - HLOG)) - h*5) & (HSIZE - 1)); + return ((((h ^ (h << 5)) >> (int) (3*8 - HLOG)) - h*5) & (HSIZE - 1)); } /* |