aboutsummaryrefslogtreecommitdiff
path: root/lib/bunzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bunzip.c')
-rw-r--r--lib/bunzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bunzip.c b/lib/bunzip.c
index 01daa783..74e7b172 100644
--- a/lib/bunzip.c
+++ b/lib/bunzip.c
@@ -301,7 +301,7 @@ int read_bunzip_data(bunzip_data *bd)
nextSym = hufGroup->permute[j];
// If this is a repeated run, loop collecting data
- if (nextSym == SYMBOL_RUNA || nextSym == SYMBOL_RUNB) {
+ if ((unsigned)nextSym <= SYMBOL_RUNB) {
// If this is the start of a new run, zero out counter
if(!runPos) {