Skip to content

Commit eaace15

Browse files
nmoinvazDead2
authored andcommitted
Fixed signed warnings in match_p.h on arm. #430
1 parent f29b0e4 commit eaace15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

match_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static inline unsigned longest_match(deflate_state *const s, IPos cur_match) {
193193
* Do not look for matches beyond the end of the input. This is
194194
* necessary to make deflate deterministic
195195
*/
196-
nice_match = (unsigned int)s->nice_match > s->lookahead ? s->lookahead : s->nice_match;
196+
nice_match = (unsigned int)s->nice_match > s->lookahead ? s->lookahead : (unsigned int)s->nice_match;
197197

198198
/*
199199
* Stop when cur_match becomes <= limit. To simplify the code,

0 commit comments

Comments
 (0)