From 7295fb5707b5be5dc3721f7d7e82f790990ccb44 Mon Sep 17 00:00:00 2001 From: jb Date: Fri, 20 Feb 1998 05:01:05 +0000 Subject: 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(-) (limited to 'usr.bin') diff --git a/usr.bin/ar/archive.h b/usr.bin/ar/archive.h index 23b391f..fb4ffeb 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 */ -- cgit v1.1