summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-07-27 15:46:07 -0700
committerIan Romanick <[email protected]>2009-07-27 15:46:07 -0700
commit4821099429ec059dc00a28f448bc3c537296ab55 (patch)
tree9a95781b97b08941a828cc8844e29caa9f70d8af /src/mesa/shader
parent054ab5a50a324b1d64fe403a65a2a392ba0c09fd (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/mesa/shader')
-rw-r--r--src/mesa/shader/hash_table.c2
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;