diff options
author | monty@hundin.mysql.fi <> | 2001-11-07 02:30:34 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-11-07 02:30:34 +0200 |
commit | 30209c1d66ecc01ba38eee03c49e52a59f1148a9 (patch) | |
tree | 467eb97b1693dd5b30f6e2b3a1e88241fad6228c /tools | |
parent | f9a321af8a077ea7dc17a7964166738daab6db7e (diff) | |
download | mariadb-git-30209c1d66ecc01ba38eee03c49e52a59f1148a9.tar.gz |
Portability fix.
Fixed linking problem with InnoDB.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mysqlmanager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mysqlmanager.c b/tools/mysqlmanager.c index 5783d151107..c9307bf5d0c 100644 --- a/tools/mysqlmanager.c +++ b/tools/mysqlmanager.c @@ -978,7 +978,7 @@ static int authenticate(struct manager_thd* thd) for (;isspace(*buf) && buf<buf_end;buf++) /* empty */; my_MD5Init(&context); - my_MD5Update(&context,buf,(uint)(buf_end-buf)); + my_MD5Update(&context,(uchar*) buf,(uint)(buf_end-buf)); my_MD5Final(digest,&context); if (memcmp(u->md5_pass,digest,MD5_LEN)) return 1; @@ -1218,7 +1218,7 @@ struct manager_thd* manager_thd_new(Vio* vio) tmp->user[0]=0; tmp->priv_flags=0; tmp->fatal=tmp->finished=0; - tmp->cmd_buf=tmp->net.read_pos; + tmp->cmd_buf= (char*) tmp->net.read_pos; return tmp; } |