diff options
author | Michael Widenius <monty@mysql.com> | 2010-08-11 13:55:54 +0300 |
---|---|---|
committer | Michael Widenius <monty@mysql.com> | 2010-08-11 13:55:54 +0300 |
commit | 236478cef7f826a2cc019febedc6854861243169 (patch) | |
tree | 6661ecbfb009cd214a281407eed80c136613b8d9 /extra | |
parent | e6cf286b5dcebc78332cdf05d6e20d9ae39d1875 (diff) | |
download | mariadb-git-236478cef7f826a2cc019febedc6854861243169.tar.gz |
Fixed compiler warnings from Windows compiler
client/mysqlcheck.c:
Added missing casts
client/mysqldump.c:
Added missing casts
client/mysqlimport.c:
Added missing casts
extra/my_print_defaults.c:
Added missing casts
mysql-test/mysql-test-run.pl:
Added suppression for non-critical warning on windows
storage/maria/maria_pack.c:
Added missing casts
storage/xtradb/buf/buf0lru.c:
Added missing casts
storage/xtradb/fil/fil0fil.c:
Added missing casts
storage/xtradb/handler/i_s.cc:
Added extra argument to call store() function for longlong.
storage/xtradb/srv/srv0srv.c:
Added cast to suppress compiler warning
support-files/compiler_warnings.supp:
Added suppression for some non critical compiler warnings on Windows
unittest/mytap/tap.h:
Fixed prototypes to be same as the actual functions
Diffstat (limited to 'extra')
-rw-r--r-- | extra/my_print_defaults.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/my_print_defaults.c b/extra/my_print_defaults.c index da7061471fa..847738951dd 100644 --- a/extra/my_print_defaults.c +++ b/extra/my_print_defaults.c @@ -55,8 +55,8 @@ static struct my_option my_long_options[] = {"debug", '#', "This is a non-debug version. Catch this and exit", 0,0, 0, GET_DISABLED, OPT_ARG, 0, 0, 0, 0, 0, 0}, #else - {"debug", '#', "Output debug log", &default_dbug_option, - &default_dbug_option, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0}, + {"debug", '#', "Output debug log", (char**) &default_dbug_option, + (char**) &default_dbug_option, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0}, #endif {"defaults-file", 'c', "Like --config-file, except: if first option, " "then read this file only, do not read global or per-user config " |