summaryrefslogtreecommitdiff
path: root/deflate.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:18:57 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:18:57 -0700
commit6759211ad8a5006689216a86c3267bb503bfccc1 (patch)
treedc0f61f4c4a44828ad7d30e376ef21840b137f44 /deflate.c
parent7850e4e406dce1f7a819297eeb151d1ca18e7cd9 (diff)
downloadzlib-1.0.8.tar.gz
zlib-1.0.8.tar.bz2
zlib-1.0.8.zip
zlib 1.0.8v1.0.8
Diffstat (limited to '')
-rw-r--r--deflate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deflate.c b/deflate.c
index acbdc08..16d6a1d 100644
--- a/deflate.c
+++ b/deflate.c
@@ -52,7 +52,7 @@
52#include "deflate.h" 52#include "deflate.h"
53 53
54const char deflate_copyright[] = 54const char deflate_copyright[] =
55 " deflate 1.0.7 Copyright 1995-1998 Jean-loup Gailly "; 55 " deflate 1.0.8 Copyright 1995-1998 Jean-loup Gailly ";
56/* 56/*
57 If you use the zlib library in a product, an acknowledgment is welcome 57 If you use the zlib library in a product, an acknowledgment is welcome
58 in the documentation of your product. If for some reason you cannot 58 in the documentation of your product. If for some reason you cannot
@@ -842,7 +842,7 @@ local uInt longest_match(s, cur_match)
842 } while ((cur_match = prev[cur_match & wmask]) > limit 842 } while ((cur_match = prev[cur_match & wmask]) > limit
843 && --chain_length != 0); 843 && --chain_length != 0);
844 844
845 if ((uInt)best_len <= s->lookahead) return best_len; 845 if ((uInt)best_len <= s->lookahead) return (uInt)best_len;
846 return s->lookahead; 846 return s->lookahead;
847} 847}
848#endif /* ASMV */ 848#endif /* ASMV */