summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-03-17 14:47:56 +0000
committerache <ache@FreeBSD.org>1997-03-17 14:47:56 +0000
commit15ac7eb201136f89843384b6d20b2f86ed77bcb8 (patch)
tree0e78d44bc27c8645cd9282163aed317d8b09ba46 /usr.sbin/ppp/command.c
parent8032f5328d8046c507154b8fdad9c17459bfb0c9 (diff)
downloadFreeBSD-src-15ac7eb201136f89843384b6d20b2f86ed77bcb8.zip
FreeBSD-src-15ac7eb201136f89843384b6d20b2f86ed77bcb8.tar.gz
Convert srandom() arg cast to Lite2 style
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index 6feed20..f78370b 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.33 1997/03/10 06:21:00 ache Exp $
+ * $Id: command.c,v 1.34 1997/03/10 08:04:15 ache Exp $
*
*/
#include <sys/types.h>
@@ -655,7 +655,7 @@ char **argv;
VarRedialTimeout = -1;
printf("Using random redial timeout.\n");
if (!randinit) {
- srandom((unsigned)(time(NULL) ^ getpid()));
+ srandom((unsigned long)(time(NULL) ^ getpid()));
randinit = 1;
}
}
OpenPOWER on IntegriCloud