summaryrefslogtreecommitdiff
path: root/storage/heap/hp_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_close.c')
-rw-r--r--storage/heap/hp_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/heap/hp_close.c b/storage/heap/hp_close.c
index 5f6fc3249b5..79fed859487 100644
--- a/storage/heap/hp_close.c
+++ b/storage/heap/hp_close.c
@@ -45,6 +45,6 @@ int hp_close(register HP_INFO *info)
heap_open_list=list_delete(heap_open_list,&info->open_list);
if (!--info->s->open_count && info->s->delete_on_close)
hp_free(info->s); /* Table was deleted */
- my_free((gptr) info,MYF(0));
+ my_free((uchar*) info,MYF(0));
DBUG_RETURN(error);
}