Get the types to match (signed vs unsigned), TODO do this right.