From 44589256c842d3694acebbc1284ef9f61806b1f7 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 20 Jul 2005 13:27:57 +0300 Subject: Added some missing casts and changed a define for alloca(). client/mysqldump.c: Added casts. include/my_sys.h: Define for alloca() changed for Metrowerks compiler. myisam/rt_split.c: Added cast. --- client/mysqldump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/mysqldump.c b/client/mysqldump.c index 4d340cb4051..d29667052ee 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -2321,9 +2321,9 @@ static int dump_selected_tables(char *db, char **table_names, int tables) { const char *table_name= hash_element(&dump_tables, i); DBUG_PRINT("info",("Dumping table %s", table_name)); - numrows= getTableStructure(table_name, db); + numrows= getTableStructure((char*) table_name, db); if (!dFlag && numrows > 0) - dumpTable(numrows, table_name); + dumpTable(numrows, (char*) table_name); } hash_free(&dump_tables); my_free(order_by, MYF(MY_ALLOW_ZERO_PTR)); -- cgit v1.2.1