Fix missing sign conversion in ignore_error_type()