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.
This commit is contained in:
John Birrell 1998-02-20 05:01:05 +00:00
parent ae25b713c6
commit 56d73492e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33652

View File

@ -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 */