Commit e4470578 authored by unknown's avatar unknown

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

parent 319dd6ae
...@@ -993,7 +993,7 @@ static int read_lines(bool execute_commands) ...@@ -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
......
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