summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorMichael Widenius <monty@mysql.com>2010-08-11 13:55:54 +0300
committerMichael Widenius <monty@mysql.com>2010-08-11 13:55:54 +0300
commit236478cef7f826a2cc019febedc6854861243169 (patch)
tree6661ecbfb009cd214a281407eed80c136613b8d9 /unittest
parente6cf286b5dcebc78332cdf05d6e20d9ae39d1875 (diff)
downloadmariadb-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 'unittest')
-rw-r--r--unittest/mytap/tap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/mytap/tap.h b/unittest/mytap/tap.h
index 206a939e43b..a75d0a4932b 100644
--- a/unittest/mytap/tap.h
+++ b/unittest/mytap/tap.h
@@ -106,7 +106,7 @@ extern int skip_big_tests;
@param count The planned number of tests to run.
*/
-void plan(int const count);
+void plan(int count);
/**
@@ -125,7 +125,7 @@ void plan(int const count);
which case nothing is printed.
*/
-void ok(int const pass, char const *fmt, ...)
+void ok(int pass, char const *fmt, ...)
__attribute__((format(printf,2,3)));