summaryrefslogtreecommitdiff
path: root/usr.bin/ranlib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-07-17 04:21:57 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-07-17 04:21:57 +0000
commit3d2b5d3d9b22eaf88c8bed2cae02ac8811923614 (patch)
treec9ac43c48ba137f19b127e63dd3afe8ad7ae6523 /usr.bin/ranlib
parente3c0ee2101808536b97cdf4749bd1c352d49b31a (diff)
Notes
Diffstat (limited to 'usr.bin/ranlib')
-rw-r--r--usr.bin/ranlib/touch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ranlib/touch.c b/usr.bin/ranlib/touch.c
index 93670b39b696..62fbbac16dd6 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.3.2.1 1997/08/05 06:39:15 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);
}