comparison: fix a bug with unsigned/signed impossible returned comparisons