I'm using Visual Studio 2008 Express. If I debug this program, the variable num holds the value 322, even when it's initialized to 0502. What am I missing here?
int main()
{
int32_t num = 0502;
return 0;
}
int32_t is defined in the portable version of pstdint.h Version 0.1.12 as
typedef signed long int32_t;