summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-23 23:17:01 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-23 23:17:01 +0800
commitc4861340e93280dce97bbfa3b421c7819bc7864e (patch)
tree116a940254cfd00b4824aa66044f2ab07c43407b /svr-main.c
parent5996c3824c52425c2d4f3d7cb69f0c9fa81a33b8 (diff)
Fix a few compile warnings
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-main.c b/svr-main.c
index 43d6656..461aeaf 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -271,7 +271,7 @@ void main_noinetd() {
goto out;
}
- addrandom(&fork_ret, sizeof(fork_ret));
+ addrandom((void*)&fork_ret, sizeof(fork_ret));
if (fork_ret > 0) {