summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-06-05 15:05:26 +0300
committerGeorgi Kodinov <joro@sun.com>2009-06-05 15:05:26 +0300
commit22454390c0ce1c3f90059811548a71ee18cac4f3 (patch)
treed9a8da33ea7968512cadbc8c78fba166c779e957 /client
parent6199226f942a65a1ce80653146c4c3086695fec2 (diff)
downloadmariadb-git-22454390c0ce1c3f90059811548a71ee18cac4f3.tar.gz
Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSX
Fixed the 5.0-bugteam MacOSX warnings. client/mysqldump.c: Bug #45286: typecasts cmd-line-utils/readline/bind.c: Bug #45286: use variable of right type cmd-line-utils/readline/display.c: Bug #45286: use variable of right type dbug/user.r: Bug #45286: no warnings in generating man pages strings/ctype.c: Bug #45286: typecasts
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index a9d2788de05..2fd69a3d8c6 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -3122,7 +3122,7 @@ static my_bool dump_all_views_in_db(char *database)
for (numrows= 0 ; (table= getTableName(1)); )
{
char *end= strmov(afterdot, table);
- if (include_table((uchar*) hash_key,end - hash_key))
+ if (include_table((byte*) hash_key,end - hash_key))
{
numrows++;
dynstr_append_checked(&query, quote_name(table, table_buff, 1));
@@ -3143,7 +3143,7 @@ static my_bool dump_all_views_in_db(char *database)
while ((table= getTableName(0)))
{
char *end= strmov(afterdot, table);
- if (include_table((uchar*) hash_key, end - hash_key))
+ if (include_table((byte*) hash_key, end - hash_key))
get_view_structure(table, database);
}
if (opt_xml)