diff options
author | unknown <serg@serg.mysql.com> | 2001-11-17 14:28:04 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-11-17 14:28:04 +0100 |
commit | d493b2df5793ea14394d7705fa5c2a60c2a635b7 (patch) | |
tree | 8f1429e8d97edfc5171a89da3682c218fb46987e /mysys/queues.c | |
parent | 391242359a27e90f92a1a0fa19f84b835e3a9b32 (diff) | |
download | mariadb-git-d493b2df5793ea14394d7705fa5c2a60c2a635b7.tar.gz |
bugfix
Diffstat (limited to 'mysys/queues.c')
-rw-r--r-- | mysys/queues.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/queues.c b/mysys/queues.c index 78da8a15842..f1bd6759f46 100644 --- a/mysys/queues.c +++ b/mysys/queues.c @@ -167,11 +167,11 @@ void _downheap(register QUEUE *queue, uint idx) } -static int queue_fix_cmp(QUEUE *queue, void *a, void *b) +static int queue_fix_cmp(QUEUE *queue, void **a, void **b) { return queue->compare(queue->first_cmp_arg, - (char*) a+queue->offset_to_key, - (char*) b+queue->offset_to_key); + (char*) (*a)+queue->offset_to_key, + (char*) (*b)+queue->offset_to_key); } /* Fix heap when every element was changed */ |