summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-08-16 09:00:08 -0600
committerBrian Paul <brianp@vmware.com>2012-08-16 09:00:08 -0600
commita8ed00d5f13d7b016bc2ea56f130adc3fa857cc8 (patch)
tree56a511847d2658b07801c9e6778f6d025896f34b
parentd733e5da9c50f0bb93549642304da2f211879bb9 (diff)
downloadmesa-a8ed00d5f13d7b016bc2ea56f130adc3fa857cc8.tar.gz
mesa-a8ed00d5f13d7b016bc2ea56f130adc3fa857cc8.tar.xz
mesa-a8ed00d5f13d7b016bc2ea56f130adc3fa857cc8.zip
st/mesa: silence signed/unsigned comparison warning
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 9f5831295f..9146f24f33 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -4036,7 +4036,7 @@ src_register(struct st_translate *t,
case PROGRAM_TEMPORARY:
assert(index >= 0);
- assert(index < Elements(t->temps));
+ assert(index < (int) Elements(t->temps));
if (ureg_dst_is_undef(t->temps[index]))
t->temps[index] = ureg_DECL_local_temporary(t->ureg);
return ureg_src(t->temps[index]);
@@ -4069,7 +4069,7 @@ src_register(struct st_translate *t,
return ureg_src(t->address[index]);
case PROGRAM_SYSTEM_VALUE:
- assert(index < Elements(t->systemValues));
+ assert(index < (int) Elements(t->systemValues));
return t->systemValues[index];
default: