mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Windows compilation fix: Added typecast (const char* to char *)
This commit is contained in:
@ -993,7 +993,7 @@ static int read_lines(bool execute_commands)
|
||||
unsigned long clen;
|
||||
do
|
||||
{
|
||||
line= my_cgets(tmpbuf.ptr(), tmpbuf.alloced_length()-1, &clen);
|
||||
line= my_cgets((char *) tmpbuf.ptr(), tmpbuf.alloced_length()-1, &clen);
|
||||
buffer.append(line, clen);
|
||||
/*
|
||||
if we got buffer fully filled than there is a chance that
|
||||
|
Reference in New Issue
Block a user