aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-01-17 16:56:28 -0500
committerRob Landley <rob@landley.net>2007-01-17 16:56:28 -0500
commit8aa0e949975773e1e944fa36d6e75e3c04fa12e1 (patch)
tree6ad5fabf1b0490ca47998020232c6dc2a1cead3b
parentcac0ab034cbaba11e3cb5d9191589fac0ad4f1fc (diff)
downloadtoybox-8aa0e949975773e1e944fa36d6e75e3c04fa12e1.tar.gz
Minor optimization the compiler already does for us (according to bloatcheck),
but it looks cleaner.
-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) {