diff options
author | Rhys Kidd <[email protected]> | 2015-08-06 16:34:11 +1000 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-08-18 11:34:44 -0700 |
commit | 1512b086d385ac9ee575e2f90cda6bec467505c7 (patch) | |
tree | 8404a4942421f1e60f750e1f372d6b3bf1eb7e0b /src/mesa/drivers | |
parent | 9febec0811a842644b6f4ea7cf20e845d9d55120 (diff) |
i965: Resolve GCC sign-compare warning.
mesa/src/mesa/drivers/dri/i965/brw_state_cache.c: In function 'brw_try_upload_using_copy':
mesa/src/mesa/drivers/dri/i965/brw_state_cache.c:216:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cache->size; i++) {
^
Signed-off-by: Rhys Kidd <[email protected]>
Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_cache.c b/src/mesa/drivers/dri/i965/brw_state_cache.c index 9e00c837407..fbc041920f4 100644 --- a/src/mesa/drivers/dri/i965/brw_state_cache.c +++ b/src/mesa/drivers/dri/i965/brw_state_cache.c @@ -208,7 +208,7 @@ brw_lookup_prog(const struct brw_cache *cache, const void *data, unsigned data_size) { const struct brw_context *brw = cache->brw; - int i; + unsigned i; const struct brw_cache_item *item; for (i = 0; i < cache->size; i++) { |