summaryrefslogtreecommitdiff
path: root/inffast.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@solidstatenetworks.com>2021-09-04 12:16:16 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-12-24 12:52:14 +0100
commit2f22eb69fbf049144ecef53ede33a8bff18ca5eb (patch)
treebf69a89e75ead6df3a7696dc487fe446a8d310be /inffast.c
parent8cf93da67f39aeead0b956fec45240e2957733f0 (diff)
Fixed trailing whitespaces and missing new lines.
Diffstat (limited to 'inffast.c')
-rw-r--r--inffast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inffast.c b/inffast.c
index 136b98d..de71271 100644
--- a/inffast.c
+++ b/inffast.c
@@ -152,8 +152,8 @@ void Z_INTERNAL zng_inflate_fast(PREFIX3(stream) *strm, unsigned long start) {
lmask = (1U << state->lenbits) - 1;
dmask = (1U << state->distbits) - 1;
- /* Detect if out and window point to the same memory allocation. In this instance it is
- necessary to use safe chunk copy functions to prevent overwriting the window. If the
+ /* Detect if out and window point to the same memory allocation. In this instance it is
+ necessary to use safe chunk copy functions to prevent overwriting the window. If the
window is overwritten then future matches with far distances will fail to copy correctly. */
extra_safe = (out >= window && out + INFLATE_FAST_MIN_LEFT <= window + wsize);