From 56d73492e16d4edc755a2ae8f7d497d4e4d4ec7c Mon Sep 17 00:00:00 2001 From: John Birrell Date: Fri, 20 Feb 1998 05:01:05 +0000 Subject: [PATCH] localtime() needs a pointer to time_t which is not necessarily a long. So use a time_t in the chdr structure so that no casts are required. --- usr.bin/ar/archive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ar/archive.h b/usr.bin/ar/archive.h index 23b391fa1e9..fb4ffeba035 100644 --- a/usr.bin/ar/archive.h +++ b/usr.bin/ar/archive.h @@ -77,7 +77,7 @@ typedef struct { /* Header structure internal format. */ typedef struct { off_t size; /* size of the object in bytes */ - long date; /* date */ + time_t date; /* date */ int lname; /* size of the long name in bytes */ int gid; /* group */ int uid; /* owner */