diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
commit | d239984fb4f726d03f0392f84234e18f0344f8a3 (patch) | |
tree | b7ff6b59711cf442ab6d07e8e9dee482cc6ec1df /src/timeout.c | |
parent | 3e6f3f6b54a0f5810f19eae853893ff8d8a9eb9b (diff) |
Various g++ fixes. Compiles, doesn't link.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1180 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeout.c b/src/timeout.c index 1db734654..263d3e6e0 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -93,7 +93,7 @@ void check_timeouts(void) Timeout *add_timeout(int delay, void (*code) (Timeout *), int repeat) { - Timeout *t = scalloc(sizeof(Timeout), 1); + Timeout *t = (Timeout *)scalloc(sizeof(Timeout), 1); t->settime = time(NULL); t->timeout = t->settime + delay; t->code = code; |