projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9db39
)
swrast: Mark MAX_GLUINT literal with u suffix.
author
Matt Turner
<mattst88@gmail.com>
Sat, 11 Apr 2015 17:14:00 +0000
(10:14 -0700)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_tritemp.h
b/src/mesa/swrast/s_tritemp.h
index fb73b2d59ffcfd555f37d7c6d7883f9efe2ec0a9..3cd1b44b0e936538508f08f0bdf16b16221563b8 100644
(file)
--- 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 0xffffffff
u
#endif