Browse Source

Remove warning "unsigned only in ISO C90"

These warnings appear on GCC for Windows only. There a lot of them. Doesn't matter, native compilation or crosscompile.
`nuklear.h:6836:9: warning: this decimal constant is unsigned only in ISO C90`
Dmitry Hrabrov 8 years ago
parent
commit
9cd5d035c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nuklear.h

+ 1 - 1
nuklear.h

@@ -3140,7 +3140,7 @@ template<typename T> struct nk_alignof{struct Big {T x; char c;}; enum {
 #define NK_SINT_MIN (-2147483647)
 #define NK_SINT_MAX 2147483647
 #define NK_UINT_MIN 0
-#define NK_UINT_MAX 4294967295
+#define NK_UINT_MAX 4294967295u
 
 /* Make sure correct type size:
  * This will fire with a negative subscript error if the type sizes