diff options
author | Michael Widenius <monty@askmonty.org> | 2012-08-17 10:01:19 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-08-17 10:01:19 +0300 |
commit | 89036b9f8a0824ead608bf1ff8120f5f7101031e (patch) | |
tree | 9524d83c8258e0ddef7d19cdd93bfe57e553013a /plugin | |
parent | a1bc3936304ae9fca8cbe5ebeb51c8f626fbd87b (diff) | |
download | mariadb-git-89036b9f8a0824ead608bf1ff8120f5f7101031e.tar.gz |
Fixed compiler warnings
Fixed error in test that caused following tests to fail
extra/yassl/taocrypt/src/dsa.cpp:
Fixed compiler warning by adding cast
mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test:
We have to first test for have_debug_sync to not start master wrongly
plugin/auth_pam/auth_pam.c:
Fixed compiler warning
sql/sys_vars.h:
Fixed compiler warning (Sys_var_max_user_conn is now signed)
support-files/compiler_warnings.supp:
Don't give warnings for auth_pam.c (Tried to fix it by changing the code, but could not find an easy way to do that on solaris)
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth_pam/auth_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c index d8211294910..4f549142e72 100644 --- a/plugin/auth_pam/auth_pam.c +++ b/plugin/auth_pam/auth_pam.c @@ -107,7 +107,7 @@ static int conv(int n, const struct pam_message **msg, #define DO(X) if ((status = (X)) != PAM_SUCCESS) goto end -#ifdef SOLARIS +#if defined(SOLARIS) || defined(__sun) typedef void** pam_get_item_3_arg; #else typedef const void** pam_get_item_3_arg; |