aboutsummaryrefslogtreecommitdiff
path: root/games/larn/data.c
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-05-09 10:09:00 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-05-09 10:09:00 +0000
commitf6d6e5ef22c8d65152ad559aff210582b2baae24 (patch)
tree167dd1ecb9d2c18195d8cbf64ca0c35848ccb40e /games/larn/data.c
parent7acec2e63889cdb3bbe33ccb7ab16229172cf445 (diff)
downloadsrc-f6d6e5ef22c8d65152ad559aff210582b2baae24.tar.gz
src-f6d6e5ef22c8d65152ad559aff210582b2baae24.zip
Change variable types from long to time_t if they are passed to time()
by reference.
Notes
Notes: svn path=/head/; revision=35878
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 01154a42dfec..1e6fcdf46672 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 */