diff options
author | Matt Turner <[email protected]> | 2015-04-11 10:14:00 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-13 09:03:02 -0700 |
commit | 89b140dfaeacb8fb0a784c8dd7da26b0d14189e8 (patch) | |
tree | 67fb999731bb378510d79ad82f25516ee2931589 /src/mesa/swrast/s_tritemp.h | |
parent | 1c9db39d54508608ea9518bc82eacbd8e27c410c (diff) |
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]>
Diffstat (limited to 'src/mesa/swrast/s_tritemp.h')
-rw-r--r-- | src/mesa/swrast/s_tritemp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h index fb73b2d59ff..3cd1b44b0e9 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 |