Skip to content
Snippets Groups Projects
Commit c02849dd authored by no name's avatar no name Committed by Ahmed Abd El Mawgood
Browse files

FIX error: right operand of shift expression '(1 << BLA)' is greater than or...

FIX error: right operand of shift expression '(1 << BLA)' is greater than or equal to the precision BLA of the left operand [-fpermissive]
parent 5aa74fd2
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,12 @@
#define SHRT_MIN (-SHRT_MAX - 1)
// TODO: These might not be accurate on all platforms
#define SSIZE_MAX ((1 << 64 - 1) - 1)
#define SSIZE_MAX 0x7fffffffffffffff
#define UCHAR_MAX 255
#define UINT_MAX ((1 << 32) - 1)
#define ULLONG_MAX ((1 << 64) - 1)
#define ULONG_MAX ((1 << 64) - 1)
#define USHRT_MAX ((1 << 16) - 1)
#define UINT_MAX 0xffffffff
#define ULLONG_MAX 0xffffffffffffffff
#define ULONG_MAX 0xffffffffffffffff
#define USHRT_MAX 0xffffffffffffffff
#define WORD_BIT 32
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment