From ecc47c65ea7706adb33458be1a16931f919b7638 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 May 1996 15:21:16 +0000 Subject: (fmt_past_time): And do it correctly, too. --- libshouldbeinlibc/timefmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libshouldbeinlibc') diff --git a/libshouldbeinlibc/timefmt.c b/libshouldbeinlibc/timefmt.c index 2aacca38..c0805461 100644 --- a/libshouldbeinlibc/timefmt.c +++ b/libshouldbeinlibc/timefmt.c @@ -262,7 +262,7 @@ fmt_past_time (struct timeval *tv, struct timeval *now, if (diff < 0) diff = -diff; /* XXX */ - bcopy (localtime ((time_t) &tv->tv_sec), &tm, sizeof tm); + bcopy (localtime ((time_t *) &tv->tv_sec), &tm, sizeof tm); if (width <= 0 || width >= buf_len) width = buf_len - 1; -- cgit v1.2.3