Module: Mesa
Branch: master
Commit: 89b140dfaeacb8fb0a784c8dd7da26b0d14189e8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=89b140dfaeacb8fb0a784c8dd7da26b0d14189e8

Author: Matt Turner <[email protected]>
Date:   Sat Apr 11 10:14:00 2015 -0700

swrast: Mark MAX_GLUINT literal with u suffix.

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 <[email protected]>

---

 src/mesa/swrast/s_tritemp.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index fb73b2d..3cd1b44 100644
--- a/src/mesa/swrast/s_tritemp.h
+++ b/src/mesa/swrast/s_tritemp.h
@@ -92,7 +92,7 @@
 
 
 #ifndef MAX_GLUINT
-#define MAX_GLUINT     0xffffffff
+#define MAX_GLUINT     0xffffffffu
 #endif
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to