projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2500d
)
Fix Constant Value
author
W. Felix Handte
<w@felixhandte.com>
Fri, 20 Apr 2018 21:13:40 +0000
(17:13 -0400)
committer
W. Felix Handte
<w@felixhandte.com>
Fri, 20 Apr 2018 21:13:40 +0000
(17:13 -0400)
lib/lz4hc.c
patch
|
blob
|
history
diff --git
a/lib/lz4hc.c
b/lib/lz4hc.c
index
843b539
..
48c42c6
100644
(file)
--- a/
lib/lz4hc.c
+++ b/
lib/lz4hc.c
@@
-101,7
+101,7
@@
static void LZ4HC_init (LZ4HC_CCtx_internal* hc4, const BYTE* start)
LZ4HC_clearTables(hc4);
startingOffset = 0;
}
- startingOffset +=
MAX_DISTANCE
;
+ startingOffset +=
64 KB
;
hc4->nextToUpdate = (U32) startingOffset;
hc4->base = start - startingOffset;
hc4->end = start;