summaryrefslogtreecommitdiff
path: root/src/core/os_reload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_reload.c')
-rw-r--r--src/core/os_reload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/os_reload.c b/src/core/os_reload.c
index 6f2a4a406..1961ed908 100644
--- a/src/core/os_reload.c
+++ b/src/core/os_reload.c
@@ -69,12 +69,12 @@ void myOperServHelp(User * u)
int do_reload(User * u)
{
if (!read_config(1)) {
- quitmsg = calloc(28 + strlen(u->nick), 1);
+ quitmsg = (char *)calloc(28 + strlen(u->nick), 1);
if (!quitmsg)
quitmsg =
"Error during the reload of the configuration file, but out of memory!";
else
- sprintf(quitmsg,
+ sprintf((char *)quitmsg, /* XXX */
"Error during the reload of the configuration file!");
quitting = 1;
}