summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-10-24 13:52:50 +0200
committermsvensson@neptunus.(none) <>2006-10-24 13:52:50 +0200
commit26183402d136997ee833fb5c3dc0fc9dd3783f26 (patch)
tree0ba88ed95bb8333b9a61e74e492f17d09c3cb089 /client/mysqldump.c
parente5bf79e60881db7c4405c4e07bd721fae855881e (diff)
downloadmariadb-git-26183402d136997ee833fb5c3dc0fc9dd3783f26.tar.gz
Use same type for local variables as arguments, avoid compile error on NetWare
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 28a220bf61e..757bec09b50 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1195,7 +1195,7 @@ static void print_xml_tag(FILE * xml_file, const char* sbeg, const char* send,
const char* first_attribute_name, ...)
{
va_list arg_list;
- char *attribute_name, *attribute_value;
+ const char *attribute_name, *attribute_value;
fputs(sbeg, xml_file);
fputc('<', xml_file);
@@ -1318,7 +1318,7 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
static void print_blob_as_hex(FILE *output_file, const char *str, ulong len)
{
/* sakaik got the idea to to provide blob's in hex notation. */
- char *ptr= str, *end= ptr + len;
+ const char *ptr= str, *end= ptr + len;
for (; ptr < end ; ptr++)
fprintf(output_file, "%02X", *((uchar *)ptr));
check_io(output_file);