Commit e4470578 authored by unknown's avatar unknown
Browse files

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

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