diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 15:21:16 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 15:21:16 +0000 |
commit | ecc47c65ea7706adb33458be1a16931f919b7638 (patch) | |
tree | 0d75d6115bdfc2d4caabddae72d5f2d7e40d794b | |
parent | 9ef23a8e7d59c1cf094aefd1d19f7ae4179a37b9 (diff) |
(fmt_past_time): And do it correctly, too.
-rw-r--r-- | libshouldbeinlibc/timefmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |