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:
jb 1998-02-20 05:01:05 +00:00
parent eb649fea4a
commit 7295fb5707

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