Commit 7b24dad4 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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