I have custom type called cell and when i try to convert from int to cell i got this strange results:
typedef long int int32_t;
typedef int32_t cell;
cell foo()
{
int xz;
xz = 150;
return xz;
}
Expected: 150
Output: 32736 <- why ??? and not 150 as expected.
I hope you will understand this.