diff options
author | joerg <joerg@FreeBSD.org> | 1995-03-19 13:29:28 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-03-19 13:29:28 +0000 |
commit | c6030c6511c69b69a216c893957b01bfc264d365 (patch) | |
tree | 163891f0a6f18e48e3d38e4d107ad82c2f5c570a /bin/csh/time.c | |
parent | 568f2efc88b72b511e26d42250ac4250a6610415 (diff) | |
download | FreeBSD-src-c6030c6511c69b69a216c893957b01bfc264d365.zip FreeBSD-src-c6030c6511c69b69a216c893957b01bfc264d365.tar.gz |
You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.
I (Joerg) finished most of Philippe's cleanup. /bin/sh will still
need *allot* of work, however.
Submitted by: charnier@lirmm.fr (Philippe Charnier)
Diffstat (limited to 'bin/csh/time.c')
-rw-r--r-- | bin/csh/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/time.c b/bin/csh/time.c index bee5bae..c63e0f5 100644 --- a/bin/csh/time.c +++ b/bin/csh/time.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: time.c,v 1.2 1994/09/24 02:54:20 davidg Exp $ + * $Id: time.c,v 1.3 1995/02/16 09:17:27 jkh Exp $ */ #ifndef lint @@ -246,7 +246,7 @@ pdeltat(t1, t0) struct timeval td; tvsub(&td, t1, t0); - (void) fprintf(cshout, "%d.%01d", td.tv_sec, td.tv_usec / 100000); + (void) fprintf(cshout, "%ld.%01ld", td.tv_sec, td.tv_usec / 100000L); } void |