Carefully check the type sizes used by your compiler uses. Different compilers implement the sizes for the standard types ( char, short, int, long, float, or double) differently. For instance, the size for int is 16 bits for some compilers and 32 bits for others.
If necessary, change the default type settings with the -T: Flexible Type Management option.
Also, the sign of plain char is inconsistent across compilers. If the software program requires that char be signed or unsigned, either change all plainchar types to the signed or unsigned types or change the sign of char with the -T option.