Made ImS8 and ImS16 explicitly signed in case some crazy SDK decide to flip the signedness over. (#2408)

This commit is contained in:
omar
2019-03-07 16:09:11 +01:00
parent 8464df1f6e
commit 1c23981782
2 changed files with 6 additions and 6 deletions

View File

@ -74,12 +74,12 @@ Index of this file:
//-------------------------------------------------------------------------
// Those MIN/MAX values are not define because we need to point to them
static const char IM_S8_MIN = -128;
static const char IM_S8_MAX = 127;
static const signed char IM_S8_MIN = -128;
static const signed char IM_S8_MAX = 127;
static const unsigned char IM_U8_MIN = 0;
static const unsigned char IM_U8_MAX = 0xFF;
static const short IM_S16_MIN = -32768;
static const short IM_S16_MAX = 32767;
static const signed short IM_S16_MIN = -32768;
static const signed short IM_S16_MAX = 32767;
static const unsigned short IM_U16_MIN = 0;
static const unsigned short IM_U16_MAX = 0xFFFF;
static const ImS32 IM_S32_MIN = INT_MIN; // (-2147483647 - 1), (0x80000000);