swrast: Mark MAX_GLUINT literal with u suffix.
authorMatt Turner <mattst88@gmail.com>
Sat, 11 Apr 2015 17:14:00 +0000 (10:14 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 13 Apr 2015 16:03:02 +0000 (09:03 -0700)
Coverity is confused by the "float < int / 2" expression and suggests
casting MAX_GLUINT to unsigned, which I believe it was supposed to have
been already.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_tritemp.h

index fb73b2d59ffcfd555f37d7c6d7883f9efe2ec0a9..3cd1b44b0e936538508f08f0bdf16b16221563b8 100644 (file)
@@ -92,7 +92,7 @@
 
 
 #ifndef MAX_GLUINT
-#define MAX_GLUINT     0xffffffff
+#define MAX_GLUINT     0xffffffffu
 #endif