diff options
author | monty@mysql.com/nosik.monty.fi <> | 2006-11-27 18:16:08 +0200 |
---|---|---|
committer | monty@mysql.com/nosik.monty.fi <> | 2006-11-27 18:16:08 +0200 |
commit | 0e149b717029cf5ee5b34b3f7c5249cc534a3e1c (patch) | |
tree | 20c7910ad3251fb39027f6528cd4c0524220a1a0 /client/mysqlslap.c | |
parent | 313f23a93af801ca368fd5f3123f952ab2b8da68 (diff) | |
download | mariadb-git-0e149b717029cf5ee5b34b3f7c5249cc534a3e1c.tar.gz |
Removed compiler warnings
Ensure that my_size_t is always unsigned (to get predictiable results from system to system)
Removed some %lld, as these are not portable
Diffstat (limited to 'client/mysqlslap.c')
-rw-r--r-- | client/mysqlslap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c index c2d3a5866e0..cba6f3009be 100644 --- a/client/mysqlslap.c +++ b/client/mysqlslap.c @@ -592,7 +592,7 @@ get_random_string(char *buf) DBUG_ENTER("get_random_string"); for (x= RAND_STRING_SIZE; x > 0; x--) *buf_ptr++= ALPHANUMERICS[random() % ALPHANUMERICS_SIZE]; - DBUG_PRINT("info", ("random string: '%*s'", buf_ptr - buf, buf)); + DBUG_PRINT("info", ("random string: '%*s'", (int) (buf_ptr - buf), buf)); DBUG_RETURN(buf_ptr - buf); } |