Fix signedness in comparison.