Windows compilation fix: Added typecast (const char* to char *)

parent 8732235f
......@@ -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
......
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