[PATCH] Use unsigned int types for a faster bsearch