diff svr-main.c @ 723:0fd32a552ea5

Fix a few compile warnings
author Matt Johnston <matt@ucc.asn.au>
date Sat, 23 Mar 2013 23:17:01 +0800
parents 167fdc091c05
children 7f604f9b3756
line wrap: on
line diff
--- a/svr-main.c	Sat Mar 23 23:16:06 2013 +0800
+++ b/svr-main.c	Sat Mar 23 23:17:01 2013 +0800
@@ -271,7 +271,7 @@
 				goto out;
 			}
 
-			addrandom(&fork_ret, sizeof(fork_ret));
+			addrandom((void*)&fork_ret, sizeof(fork_ret));
 			
 			if (fork_ret > 0) {