diff options
author | jb <jb@FreeBSD.org> | 1998-02-20 05:01:05 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-02-20 05:01:05 +0000 |
commit | 7295fb5707b5be5dc3721f7d7e82f790990ccb44 (patch) | |
tree | ac557b184c56f3e106a78268b36d77b5767d3968 /usr.bin/ar | |
parent | eb649fea4a5018291ea1862c5f3c52c5395dce41 (diff) | |
download | FreeBSD-src-7295fb5707b5be5dc3721f7d7e82f790990ccb44.zip FreeBSD-src-7295fb5707b5be5dc3721f7d7e82f790990ccb44.tar.gz |
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.
Diffstat (limited to 'usr.bin/ar')
-rw-r--r-- | usr.bin/ar/archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |