summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <georg@lmy002.wdf.sap.corp>2005-10-04 10:54:58 +0200
committerunknown <georg@lmy002.wdf.sap.corp>2005-10-04 10:54:58 +0200
commite4470578411b9afe207e11fd8781560317d11365 (patch)
tree509e652b3faa0f46beefd9a5505f4f9e2a2bc25a /client
parent319dd6aea73e60f2b1b6e6001a360a06899f144f (diff)
downloadmariadb-git-e4470578411b9afe207e11fd8781560317d11365.tar.gz
Windows compilation fix: Added typecast (const char* to char *)
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index e73d627d67a..d82d29a9a54 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -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