diff options
Diffstat (limited to 'lib/zlib_inflate/inffast.c')
-rw-r--r-- | lib/zlib_inflate/inffast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zlib_inflate/inffast.c b/lib/zlib_inflate/inffast.c index fa62fc7a94f9..2c13ecc5bb2c 100644 --- a/lib/zlib_inflate/inffast.c +++ b/lib/zlib_inflate/inffast.c | |||
@@ -286,7 +286,7 @@ void inflate_fast(z_streamp strm, unsigned start) | |||
286 | } else { /* dist == 1 or dist == 2 */ | 286 | } else { /* dist == 1 or dist == 2 */ |
287 | unsigned short pat16; | 287 | unsigned short pat16; |
288 | 288 | ||
289 | pat16 = *(sout-2+2*OFF); | 289 | pat16 = *(sout-1+OFF); |
290 | if (dist == 1) { | 290 | if (dist == 1) { |
291 | union uu mm; | 291 | union uu mm; |
292 | /* copy one char pattern to both bytes */ | 292 | /* copy one char pattern to both bytes */ |