summaryrefslogtreecommitdiff
path: root/storage/myisammrg/myrg_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisammrg/myrg_close.c')
-rw-r--r--storage/myisammrg/myrg_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisammrg/myrg_close.c b/storage/myisammrg/myrg_close.c
index 971a83928b1..baae24634b3 100644
--- a/storage/myisammrg/myrg_close.c
+++ b/storage/myisammrg/myrg_close.c
@@ -30,7 +30,7 @@ int myrg_close(MYRG_INFO *info)
pthread_mutex_lock(&THR_LOCK_open);
myrg_open_list=list_delete(myrg_open_list,&info->open_list);
pthread_mutex_unlock(&THR_LOCK_open);
- my_free((gptr) info,MYF(0));
+ my_free((uchar*) info,MYF(0));
if (error)
{
DBUG_RETURN(my_errno=error);