summaryrefslogtreecommitdiff
path: root/client/mysqlmanager-pwgen.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-11-07 02:30:34 +0200
committerunknown <monty@hundin.mysql.fi>2001-11-07 02:30:34 +0200
commit1ed1ec4c84db6e14023e55fdc6aa471c58ce71c8 (patch)
tree467eb97b1693dd5b30f6e2b3a1e88241fad6228c /client/mysqlmanager-pwgen.c
parentd207a0c2f022d0a65e95cddf8a1dc957f0e0a34e (diff)
downloadmariadb-git-1ed1ec4c84db6e14023e55fdc6aa471c58ce71c8.tar.gz
Portability fix.
Fixed linking problem with InnoDB. BUILD/compile-alpha-cxx: Fix for using innodb acinclude.m4: Fix problem with linking mysqld after Heikkis last changes. client/mysql.cc: Fixed linking problem client/mysqlmanager-pwgen.c: Portability fix innobase/que/que0que.c: Removed some blanks myisam/ft_boolean_search.c: Portability fix myisam/sort.c: Portability fix mysys/queues.c: Portability fix strings/ctype-latin1_de.c: Portability fix tools/mysqlmanager.c: Portability fix
Diffstat (limited to 'client/mysqlmanager-pwgen.c')
-rw-r--r--client/mysqlmanager-pwgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlmanager-pwgen.c b/client/mysqlmanager-pwgen.c
index f0fc5871ca1..f6d4cda49e5 100644
--- a/client/mysqlmanager-pwgen.c
+++ b/client/mysqlmanager-pwgen.c
@@ -145,7 +145,7 @@ int main(int argc, char** argv)
die("Could not open '%s'(errno=%d)",outfile,errno);
get_pass(pw,sizeof(pw)-1);
my_MD5Init(&context);
- my_MD5Update(&context,pw,sizeof(pw)-1);
+ my_MD5Update(&context,(uchar*) pw,sizeof(pw)-1);
my_MD5Final(digest,&context);
fprintf(fp,"%s:",user);
for (i=0;i<sizeof(digest);i++)