[PATCH] Fix unsigned int compared against 0