summaryrefslogtreecommitdiffstats
path: root/games/larn/data.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-09 10:09:00 +0000
committerjb <jb@FreeBSD.org>1998-05-09 10:09:00 +0000
commit50ed7e732dd016ba1a1860e4161ab104aa1e1c62 (patch)
tree973977f3f39951a46b6eb803ba37b1343a48bc34 /games/larn/data.c
parent6ad82c9881f369ad361ab4d49106c28f15f2fd2d (diff)
downloadFreeBSD-src-50ed7e732dd016ba1a1860e4161ab104aa1e1c62.zip
FreeBSD-src-50ed7e732dd016ba1a1860e4161ab104aa1e1c62.tar.gz
Change variable types from long to time_t if they are passed to time()
by reference.
Diffstat (limited to 'games/larn/data.c')
-rw-r--r--games/larn/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/larn/data.c b/games/larn/data.c
index 01154a4..1e6fcdf 100644
--- a/games/larn/data.c
+++ b/games/larn/data.c
@@ -148,7 +148,7 @@ short oldx,oldy;
short lasthx=0,lasthy=0; /* location of monster last hit by player */
short nobeep=0; /* true if program is not to beep */
/* unsigned long randx=33601; /* the random number seed */
-long initialtime=0; /* time playing began */
+time_t initialtime=0; /* time playing began */
long gtime=0; /* the clock for the game */
long outstanding_taxes=0; /* present tax bill from score file */
long c[100],cbak[100]; /* the character description arrays */
OpenPOWER on IntegriCloud