Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/pax PR/48095: NAKAJIMA Yoshihiro: remove casts from time...
details: https://anonhg.NetBSD.org/src/rev/fac4ed267419
branches: trunk
changeset: 788931:fac4ed267419
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 29 17:46:36 2013 +0000
description:
PR/48095: NAKAJIMA Yoshihiro: remove casts from time_t to long
diffstat:
bin/pax/file_subs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r d57a6fc6a3a7 -r fac4ed267419 bin/pax/file_subs.c
--- a/bin/pax/file_subs.c Mon Jul 29 16:42:20 2013 +0000
+++ b/bin/pax/file_subs.c Mon Jul 29 17:46:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: file_subs.c,v 1.62 2009/04/07 19:52:35 perry Exp $ */
+/* $NetBSD: file_subs.c,v 1.63 2013/07/29 17:46:36 christos Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: file_subs.c,v 1.62 2009/04/07 19:52:35 perry Exp $");
+__RCSID("$NetBSD: file_subs.c,v 1.63 2013/07/29 17:46:36 christos Exp $");
#endif
#endif /* not lint */
@@ -791,9 +791,9 @@
struct timeval tv[2];
struct stat sb;
- tv[0].tv_sec = (long)atime;
+ tv[0].tv_sec = atime;
tv[0].tv_usec = 0;
- tv[1].tv_sec = (long)mtime;
+ tv[1].tv_sec = mtime;
tv[1].tv_usec = 0;
if (!frc && (!patime || !pmtime)) {
/*
Home |
Main Index |
Thread Index |
Old Index