Commit 7b24dad4 authored by unknown's avatar unknown

Fix handling of command-line on Windows, missed as part of earlier

commit. (Bug #10840)


client/mysql.cc:
  Add cast of unsigned value stored in signed char
parent 6de6d3ad
......@@ -989,7 +989,8 @@ static int read_lines(bool execute_commands)
a nil, it still needs the space in the linebuffer for it. This is,
naturally, undocumented.
*/
} while (linebuffer[0] <= linebuffer[1] + 1);
} while ((unsigned char)linebuffer[0] <=
(unsigned char)linebuffer[1] + 1);
line= buffer.c_ptr();
#endif /* __NETWARE__ */
#else
......
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