main: fix unsigned/signed int mismatch that was preventing compilation after interoperability
with different expo types was removed in polynomial term.