[Mesa-dev] [PATCH 5/8] mesa: silence MSVC signed/unsigned comparision warnings in hash_table.c

Brian Paul brianp at vmware.com
Sat Oct 27 07:59:27 PDT 2012


---
 src/mesa/program/hash_table.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/program/hash_table.c b/src/mesa/program/hash_table.c
index 7dabadc..f45ed46 100644
--- a/src/mesa/program/hash_table.c
+++ b/src/mesa/program/hash_table.c
@@ -193,7 +193,7 @@ hash_table_call_foreach(struct hash_table *ht,
 					 void *closure),
 			void *closure)
 {
-   int bucket;
+   unsigned bucket;
 
    for (bucket = 0; bucket < ht->num_buckets; bucket++) {
       struct node *node, *temp;
-- 
1.7.3.4



More information about the mesa-dev mailing list