diff options
author | Ian Romanick <[email protected]> | 2009-07-27 15:46:07 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-07-27 15:46:07 -0700 |
commit | 4821099429ec059dc00a28f448bc3c537296ab55 (patch) | |
tree | 9a95781b97b08941a828cc8844e29caa9f70d8af /src | |
parent | 054ab5a50a324b1d64fe403a65a2a392ba0c09fd (diff) |
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?!?
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/hash_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/hash_table.c b/src/mesa/shader/hash_table.c index 3ff603b3681..a28a53ce027 100644 --- a/src/mesa/shader/hash_table.c +++ b/src/mesa/shader/hash_table.c @@ -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; |