ARB prog: Fix parameters to _mesa_calloc

So totally awesome that _mesa_calloc has a different parameter
signature than calloc.  Why do these libc wrappers still exist?!?
This commit is contained in:
Ian Romanick 2009-07-27 15:46:07 -07:00
parent 054ab5a50a
commit 4821099429

View file

@ -137,7 +137,7 @@ hash_table_insert(struct hash_table *ht, void *data, const void *key)
const unsigned bucket = hash_value % ht->num_buckets;
struct hash_node *node;
node = _mesa_calloc(1, sizeof(*node));
node = _mesa_calloc(sizeof(*node));
node->data = data;
node->key = key;