diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-31 19:18:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-31 19:18:27 +0000 |
commit | 6a3a35a19f4063d0692ec57b9c8be3ce18a70b38 (patch) | |
tree | af415f4c9a2e5fa4e8b6bcf20ee483d6ab0f8224 /games | |
parent | 6051febdaccbfedc1e71b8f0e68513ddb537fb00 (diff) |
time_t not long
Diffstat (limited to 'games')
-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 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 */ |