summaryrefslogtreecommitdiff
path: root/client/mysqladmin.cc
diff options
context:
space:
mode:
authorMagne Mahre <magne.mahre@sun.com>2009-11-11 17:22:27 +0100
committerMagne Mahre <magne.mahre@sun.com>2009-11-11 17:22:27 +0100
commit272b9ad5de9f12a3d571fb96b89c42368b633e1c (patch)
treeb13186ba279dcc8fd483204f2b208c77bcc696a4 /client/mysqladmin.cc
parentfa08bae760431b2c325bbc6a41cf706b1e76a2b3 (diff)
downloadmariadb-git-272b9ad5de9f12a3d571fb96b89c42368b633e1c.tar.gz
Return type fix (strlen returns size_t)
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r--client/mysqladmin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc
index 00a83c60d25..500a890a9ab 100644
--- a/client/mysqladmin.cc
+++ b/client/mysqladmin.cc
@@ -929,7 +929,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
bool old= (find_type(argv[0], &command_typelib, 2) ==
ADMIN_OLD_PASSWORD);
#ifdef __WIN__
- uint pw_len= strlen(typed_password);
+ size_t pw_len= strlen(typed_password);
if (pw_len > 1 && typed_password[0] == '\'' &&
typed_password[pw_len-1] == '\'')
printf("Warning: single quotes were not trimmed from the password by"