Avoid redundant comparison with 0 of an unsigned integer