Fix -Wformat errors found in ircd-ratbox.

We cannot use -Wformat meaningfully but ircd-ratbox trunk can.
This commit is contained in:
Jilles Tjoelker 2011-11-13 00:22:09 +01:00
parent a695b0e40e
commit 0cce01d388
8 changed files with 25 additions and 22 deletions

View file

@ -330,7 +330,7 @@ h_svc_stats(hook_data_int *data)
{
sendto_one_numeric(data->client, RPL_STATSULINE,
form_str(RPL_STATSULINE),
ptr->data, "*", "*", "s");
(const char *)ptr->data, "*", "*", "s");
}
}
}