mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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;
|
unsigned long clen;
|
||||||
do
|
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);
|
buffer.append(line, clen);
|
||||||
/*
|
/*
|
||||||
if we got buffer fully filled than there is a chance that
|
if we got buffer fully filled than there is a chance that
|
||||||
|
Reference in New Issue
Block a user