mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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:
parent
054ab5a50a
commit
4821099429
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue