summaryrefslogtreecommitdiff
path: root/src/core/os_reload.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
commit29aea837f59c17fad0dc6020a488124f3ea7d630 (patch)
tree94701c01ec03db1a096e4f457fa9601891321ca7 /src/core/os_reload.c
parent1e918b949ce6d96b7f294f659d907546e5d60e44 (diff)
Various strict fixes..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1185 5417fbe8-f217-4b02-8779-1006273d7864
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;
}