1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00

Fix of build errors for windows.

This commit is contained in:
Kristofer.Pettersson@naruto. 2007-07-25 12:15:29 +02:00
parent 0a0f6d06bd
commit b7d58113f5

View File

@ -300,7 +300,7 @@ bool Mysqld_output_parser_win::run_command(const char *command)
&si_start_info, /* STARTUPINFO pointer. */
&pi_proc_info); /* Rec. PROCESS_INFORMATION. */
if (!retval)
if (!op_status)
{
CloseHandle(m_h_child_stdout_rd);
CloseHandle(m_h_child_stdout_wr);
@ -324,7 +324,7 @@ bool Mysqld_output_parser_win::read_line(char *line_buffer,
char *buff_ptr= line_buffer;
char ch;
while (buff_ptr - line_buffer < line_buffer_size)
while ((unsigned)(buff_ptr - line_buffer) < line_buffer_size)
{
do
{