Commit 024be23a authored by tsmith@siva.hindu.god's avatar tsmith@siva.hindu.god

Fix warning on Windows

parent d4e0de8f
......@@ -2296,7 +2296,7 @@ void MYSQL_LOG::signal_update()
#ifdef __NT__
static void print_buffer_to_nt_eventlog(enum loglevel level, char *buff,
uint length, int buffLen)
size_t length, size_t buffLen)
{
HANDLE event;
char *buffptr= buff;
......@@ -2390,7 +2390,7 @@ static void print_buffer_to_file(enum loglevel level, const char *buffer)
void vprint_msg_to_log(enum loglevel level, const char *format, va_list args)
{
char buff[1024];
uint length;
size_t length;
DBUG_ENTER("vprint_msg_to_log");
length= my_vsnprintf(buff, sizeof(buff), format, args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment