I was trying to convert an integer of type n to type i, however, when i do
data: foo_of_type_i type i.
foo_of_type_i = foo_of_type_n.
foo_of_type_i becomes type n as well and therefore I can not compare foo_of_type_i to other integers of type i.
Thanks a lot!