warnings in message.c

This commit is contained in:
Enno Rehling 2001-05-20 06:44:28 +00:00
parent de69d13259
commit 89bc8a4c39
1 changed files with 2 additions and 2 deletions

View File

@ -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) {