artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9bd0f6
)
sync with base
author
tb
<tb@openbsd.org>
Thu, 5 Sep 2024 16:17:56 +0000
(16:17 +0000)
committer
tb
<tb@openbsd.org>
Thu, 5 Sep 2024 16:17:56 +0000
(16:17 +0000)
sys/lib/libz/inflate.c
patch
|
blob
|
history
diff --git
a/sys/lib/libz/inflate.c
b/sys/lib/libz/inflate.c
index
cb741c6
..
02d9527
100644
(file)
--- a/
sys/lib/libz/inflate.c
+++ b/
sys/lib/libz/inflate.c
@@
-959,7
+959,7
@@
int ZEXPORT inflate(z_streamp strm, int flush) {
while (state->have < 19)
state->lens[order[state->have++]] = 0;
state->next = state->codes;
- state->lencode = (const code FAR *)(state->next);
+ state->lencode =
state->distcode =
(const code FAR *)(state->next);
state->lenbits = 7;
ret = inflate_table(CODES, state->lens, 19, &(state->next),
&(state->lenbits), state->work);