diff options
author | ache <ache@FreeBSD.org> | 1997-09-24 05:28:05 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-09-24 05:28:05 +0000 |
commit | f3087f06ac098064514c3cc4e896d0d63c7697d4 (patch) | |
tree | 3e9ee9ad960dec1493d52f0671bf690aa3f554eb /games/phantasia/convert.c | |
parent | 7798c2955949b1b4cf0f86ccbe2d097537cc9b4f (diff) | |
download | FreeBSD-src-f3087f06ac098064514c3cc4e896d0d63c7697d4.zip FreeBSD-src-f3087f06ac098064514c3cc4e896d0d63c7697d4.tar.gz |
Use srandomdev
Diffstat (limited to 'games/phantasia/convert.c')
-rw-r--r-- | games/phantasia/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/phantasia/convert.c b/games/phantasia/convert.c index b18c5e9..ace262a 100644 --- a/games/phantasia/convert.c +++ b/games/phantasia/convert.c @@ -56,7 +56,7 @@ FILE *oldcharac, *newcharac; /* to open old and new files */ exit(1); } - srandom((unsigned) time((long *) NULL)); /* prime random numbers */ + srandomdev(); while (fread((char *) &Oldplayer, sizeof(struct oldplayer), 1, oldcharac) == 1) /* read and convert old structures into new */ |