summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-04-17 00:20:52 +0000
committerderaadt <deraadt@openbsd.org>2013-04-17 00:20:52 +0000
commitb6f907ed5de984049ee225f6be8955dd50cca9f5 (patch)
tree203fb877521d807cadf73ca0afad6e92599657ab
parenthandle large tv_sec (diff)
downloadwireguard-openbsd-b6f907ed5de984049ee225f6be8955dd50cca9f5.tar.xz
wireguard-openbsd-b6f907ed5de984049ee225f6be8955dd50cca9f5.zip
remove time_t cast not needed; ok guenther
-rw-r--r--usr.bin/rcs/ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 1c3c5b6e32f..9c5aa511d76 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.214 2013/01/18 11:21:09 guenther Exp $ */
+/* $OpenBSD: ci.c,v 1.215 2013/04/17 00:20:52 deraadt Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -829,7 +829,7 @@ checkin_mtimedate(struct checkin_params *pb)
if (fstat(workfile_fd, &sb) == -1)
err(1, "%s", pb->filename);
- pb->date = (time_t)sb.st_mtimespec.tv_sec;
+ pb->date = sb.st_mtimespec.tv_sec;
}
/*