summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-08-17 10:01:19 +0300
committerMichael Widenius <monty@askmonty.org>2012-08-17 10:01:19 +0300
commit89036b9f8a0824ead608bf1ff8120f5f7101031e (patch)
tree9524d83c8258e0ddef7d19cdd93bfe57e553013a /extra
parenta1bc3936304ae9fca8cbe5ebeb51c8f626fbd87b (diff)
downloadmariadb-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 'extra')
-rw-r--r--extra/yassl/taocrypt/src/dsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/yassl/taocrypt/src/dsa.cpp b/extra/yassl/taocrypt/src/dsa.cpp
index a4e9c9503e7..7b882b10cd1 100644
--- a/extra/yassl/taocrypt/src/dsa.cpp
+++ b/extra/yassl/taocrypt/src/dsa.cpp
@@ -184,7 +184,7 @@ word32 DSA_Signer::Sign(const byte* sha_digest, byte* sig,
s_ = (kInv * (H + x*r_)) % q;
if (!(!!r_ && !!s_))
- return -1;
+ return (word32) -1;
int rSz = r_.ByteCount();