From 03d35ac031c37c4b56c72bb4c9da5b013afe5fb3 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Thu, 18 Aug 2016 14:42:50 +0000 Subject: [PATCH] fix compile error --- include/mysql.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mysql.h b/include/mysql.h index 1b2d05ca..ae8db74f 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -579,8 +579,8 @@ unsigned int STDCALL mysql_get_timeout_value_ms(const MYSQL *mysql); my_bool STDCALL mariadb_reconnect(MYSQL *mysql); int STDCALL mariadb_cancel(MYSQL *mysql); void STDCALL mysql_debug(const char *debug); -ulong STDCALL mysql_net_read_packet(MYSQL *mysql); -ulong STDCALL mysql_net_field_length(unsigned char **packet); +unsigned long STDCALL mysql_net_read_packet(MYSQL *mysql); +unsigned long STDCALL mysql_net_field_length(unsigned char **packet); my_bool STDCALL mysql_embedded(); MYSQL_PARAMETERS *STDCALL mysql_get_parameters(void);