mesa: silence MSVC signed/unsigned comparision warnings in hash_table.c
authorBrian Paul <brianp@vmware.com>
Sat, 27 Oct 2012 14:58:19 +0000 (08:58 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 29 Oct 2012 23:56:04 +0000 (17:56 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/program/hash_table.c

index 7dabadc5058fcdca69c7ea3160ae2cad55c6ac3a..f45ed46afad455e117a9fc2a68e4311b2d80fb3f 100644 (file)
@@ -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;