diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
| commit | 22694ebad57c49178f28bcc781d8ee9eb5868dd8 (patch) | |
| tree | ef3eba30b83841c253ee8676afea71ed9c896f0c /usr.bin/ranlib | |
| parent | b45d09e830251ff82c05a1bdcd1349a94a2a5301 (diff) | |
Notes
Diffstat (limited to 'usr.bin/ranlib')
| -rw-r--r-- | usr.bin/ranlib/touch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ranlib/touch.c b/usr.bin/ranlib/touch.c index 93670b39b696..bfb10f727616 100644 --- a/usr.bin/ranlib/touch.c +++ b/usr.bin/ranlib/touch.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: touch.c,v 1.4 1997/08/04 06:48:25 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -89,7 +89,7 @@ settime(afd) size = SARMAG + sizeof(hdr->ar_name); if (lseek(afd, size, SEEK_SET) == (off_t)-1) error(archive); - (void)sprintf(buf, "%-12ld", time((time_t *)NULL) + RANLIBSKEW); + (void)sprintf(buf, "%-12ld", (long)time((time_t *)NULL) + RANLIBSKEW); if (write(afd, buf, sizeof(hdr->ar_date)) != sizeof(hdr->ar_date)) error(archive); } |
