diff options
author | Ian Romanick <[email protected]> | 2011-08-26 10:53:43 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-09 12:01:51 -0700 |
commit | 1a8111aea43b714609a20c1cb841ca58ae10dd83 (patch) | |
tree | 6c8d115fa30ed403944da98452c1bc6feb943d62 /src/glsl/opt_noop_swizzle.cpp | |
parent | ed3040f3baa468a0e16ea1ae2e5202c18d838c8f (diff) |
intel: Silence "intel/intel_fbo.h:105:4: warning: comparison of unsigned expression < 0 is always false"
The test was of an enum, attIndex, which should be unsigned. The
explicit check for < 0 was replaced with a cast to unsigned in an
assertion that attIndex is less than the size of the array it will be
used to index.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/opt_noop_swizzle.cpp')
0 files changed, 0 insertions, 0 deletions