mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
ae25b713c6
commit
56d73492e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue