diff options
author | jb <jb@FreeBSD.org> | 1998-05-12 23:03:50 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-12 23:03:50 +0000 |
commit | b36a8f56fb554921f6050cc7672dd0e3353b5af8 (patch) | |
tree | bfc4b8b9847e79bcaaf675e28bc4dbb464dba2ce /gnu | |
parent | 0955429cc86f0d3cce400369618cd6d4825f4e23 (diff) | |
download | FreeBSD-src-b36a8f56fb554921f6050cc7672dd0e3353b5af8.zip FreeBSD-src-b36a8f56fb554921f6050cc7672dd0e3353b5af8.tar.gz |
Change a cast of long * to time_t * in a call to time();
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/perl/eval.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/perl/eval.c b/gnu/usr.bin/perl/perl/eval.c index fcb5403..664ebf1 100644 --- a/gnu/usr.bin/perl/perl/eval.c +++ b/gnu/usr.bin/perl/perl/eval.c @@ -1,4 +1,4 @@ -/* $RCSfile: eval.c,v $$Revision: 1.2 $$Date: 1995/05/30 05:03:03 $ +/* $RCSfile: eval.c,v $$Revision: 1.3 $$Date: 1998/02/01 22:04:49 $ * * Copyright (c) 1991, Larry Wall * @@ -6,6 +6,12 @@ * License or the Artistic License, as specified in the README file. * * $Log: eval.c,v $ + * Revision 1.3 1998/02/01 22:04:49 steve + * setpwent and endpwent have a return type of void, so change this + * to work like newer versions of perl. + * + * Reviewed by: Bruce Evans + * * Revision 1.2 1995/05/30 05:03:03 rgrimes * Remove trailing whitespace. * @@ -1680,7 +1686,7 @@ register int sp; goto donumset; case O_TIME: #ifndef lint - value = (double) time(Null(long*)); + value = (double) time(Null(time_t *)); #endif goto donumset; case O_TMS: |