fixed int/unsigned compare in QuickSort