aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-05-09 10:15:15 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-05-09 10:15:15 +0000
commit37fb4a6158bd354893d52f4dad3f5de384ed7e6a (patch)
tree317aba11732d19055cfd2787c8c5367435efd896 /games
parenta43e3595f7db599c9ada5c427c13c5022526e9a9 (diff)
Notes
Diffstat (limited to 'games')
-rw-r--r--games/rogue/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/machdep.c b/games/rogue/machdep.c
index a6b1dfa6cc00..c7c89a6e4481 100644
--- a/games/rogue/machdep.c
+++ b/games/rogue/machdep.c
@@ -300,7 +300,7 @@ md_gct(rt_buf)
struct rogue_time *rt_buf;
{
struct tm *t, *localtime();
- long seconds;
+ time_t seconds;
time(&seconds);
t = localtime(&seconds);
@@ -334,11 +334,11 @@ char *fname;
struct rogue_time *rt_buf;
{
struct stat sbuf;
- long seconds;
+ time_t seconds;
struct tm *t;
stat(fname, &sbuf);
- seconds = (long) sbuf.st_mtime;
+ seconds = sbuf.st_mtime;
t = localtime(&seconds);
rt_buf->year = t->tm_year;