From 8aa0e949975773e1e944fa36d6e75e3c04fa12e1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 17 Jan 2007 16:56:28 -0500 Subject: Minor optimization the compiler already does for us (according to bloatcheck), but it looks cleaner. --- lib/bunzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3