1
0
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:
unknown
2005-10-04 10:54:58 +02:00
parent 319dd6aea7
commit e447057841

View File

@ -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