diff options
author | Rob Landley <rob@landley.net> | 2007-01-17 16:56:28 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-17 16:56:28 -0500 |
commit | 8aa0e949975773e1e944fa36d6e75e3c04fa12e1 (patch) | |
tree | 6ad5fabf1b0490ca47998020232c6dc2a1cead3b /lib/bunzip.c | |
parent | cac0ab034cbaba11e3cb5d9191589fac0ad4f1fc (diff) | |
download | toybox-8aa0e949975773e1e944fa36d6e75e3c04fa12e1.tar.gz |
Minor optimization the compiler already does for us (according to bloatcheck),
but it looks cleaner.
Diffstat (limited to 'lib/bunzip.c')
-rw-r--r-- | lib/bunzip.c | 2 |
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) { |