summaryrefslogtreecommitdiff
path: root/libmysql/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmysql/manager.c')
-rw-r--r--libmysql/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/manager.c b/libmysql/manager.c
index a88c63123b0..2989c9dcccf 100644
--- a/libmysql/manager.c
+++ b/libmysql/manager.c
@@ -206,10 +206,10 @@ void STDCALL mysql_manager_close(MYSQL_MANAGER* con)
allocated in my_multimalloc() along with con->host, freeing
con->hosts frees the whole block
*/
- my_free((gptr)con->host,MYF(MY_ALLOW_ZERO_PTR));
+ my_free((uchar*)con->host,MYF(MY_ALLOW_ZERO_PTR));
net_end(&con->net);
if (con->free_me)
- my_free((gptr)con,MYF(0));
+ my_free((uchar*)con,MYF(0));
}