changeset 58:b060142aee01

Minor optimization the compiler already does for us (according to bloatcheck), but it looks cleaner.
author Rob Landley <rob@landley.net>
date Wed, 17 Jan 2007 16:56:28 -0500
parents 034de958ee65
children e82ae73acbd7
files lib/bunzip.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/bunzip.c	Wed Jan 17 16:31:23 2007 -0500
+++ b/lib/bunzip.c	Wed Jan 17 16:56:28 2007 -0500
@@ -301,7 +301,7 @@
 		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) {