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 <rhyskidd@gmail.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
This commit is contained in:
Rhys Kidd 2015-08-06 16:34:11 +10:00 committed by Matt Turner
parent 9febec0811
commit 1512b086d3
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {