Fix compiler warning about truth value in only_digits