summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-31 19:18:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-31 19:18:27 +0000
commit6a3a35a19f4063d0692ec57b9c8be3ce18a70b38 (patch)
treeaf415f4c9a2e5fa4e8b6bcf20ee483d6ab0f8224 /games
parent6051febdaccbfedc1e71b8f0e68513ddb537fb00 (diff)
time_t not long
Diffstat (limited to 'games')
-rw-r--r--games/phantasia/convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/phantasia/convert.c b/games/phantasia/convert.c
index 53127de7ddf..204c01cbb48 100644
--- a/games/phantasia/convert.c
+++ b/games/phantasia/convert.c
@@ -58,7 +58,7 @@ FILE *oldcharac, *newcharac; /* to open old and new files */
exit(1);
}
- srandom((unsigned) time((long *) NULL)); /* prime random numbers */
+ srandom((unsigned) time(NULL)); /* prime random numbers */
while (fread((char *) &Oldplayer, sizeof(struct oldplayer), 1, oldcharac) == 1)
/* read and convert old structures into new */