From 89bc8a4c393e0985138ed45e6fbacd1acd649373 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 20 May 2001 06:44:28 +0000 Subject: [PATCH] warnings in message.c --- src/common/kernel/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/kernel/message.c b/src/common/kernel/message.c index 337c1bf05..fb0e1cf63 100644 --- a/src/common/kernel/message.c +++ b/src/common/kernel/message.c @@ -209,7 +209,7 @@ parse_tagend(const struct xml_stack *stack, void *data) /* add the messagetype */ mtype = mt_find(state->mtname); - if (!mtype) mtype = mt_register(mt_new(state->mtname, state->argv)); + if (!mtype) mtype = mt_register(mt_new(state->mtname, (const char**)state->argv)); while (state->argc--) { free(state->argv[state->argc]); @@ -246,7 +246,7 @@ read_messages(FILE * F, const locale * lang) } static void -arg_set(void * args[], const message_type * mtype, char * buffer, void * v) +arg_set(void * args[], const message_type * mtype, const char * buffer, void * v) { int i; for (i=0;i!=mtype->nparameters;++i) {