summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-04-02 05:01:23 +0000
committerderaadt <deraadt@openbsd.org>2013-04-02 05:01:23 +0000
commitddde9c7a748a592fb7d84ec92be2650e9b2e7438 (patch)
treeabd355e89142aa168cec836c596050b3825a799d
parenthandle larger time_t (diff)
downloadwireguard-openbsd-ddde9c7a748a592fb7d84ec92be2650e9b2e7438.tar.xz
wireguard-openbsd-ddde9c7a748a592fb7d84ec92be2650e9b2e7438.zip
kill useless cast
-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 17fc4dc6753..c6b02194b72 100644
--- a/usr.bin/ranlib/touch.c
+++ b/usr.bin/ranlib/touch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: touch.c,v 1.8 2013/04/02 04:58:54 deraadt Exp $ */
+/* $OpenBSD: touch.c,v 1.9 2013/04/02 05:01:23 deraadt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -75,7 +75,7 @@ settime(int afd)
if (lseek(afd, size, SEEK_SET) == (off_t)-1)
error(archive);
(void)snprintf(buf, sizeof buf,
- "%-12lld", (long long)time((time_t *)NULL) + RANLIBSKEW);
+ "%-12lld", (long long)time(NULL) + RANLIBSKEW);
if (write(afd, buf, sizeof(hdr->ar_date)) != sizeof(hdr->ar_date))
error(archive);
}