summaryrefslogtreecommitdiffstats
path: root/src/ustar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ustar.h')
-rw-r--r--src/ustar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ustar.h b/src/ustar.h
index 57e6458..8dfd771 100644
--- a/src/ustar.h
+++ b/src/ustar.h
@@ -35,7 +35,7 @@ struct opkg_opk_ustar_member {
char name [OPKG_OPK_USTAR_NAME_SIZE];
uint16_t mode;
uint64_t size;
- int64_t mtime;
+ uint64_t mtime;
char type;
char linkname[OPKG_OPK_USTAR_LINKNAME_SIZE];
char uname [32];
@@ -91,7 +91,7 @@ int
opkg_opk_ustar_write_header(struct opkg_opk_ustar *ustar,
struct opkg_opk_dirent *dirent, uint16_t mode,
uid_t uid, const char *uname, gid_t gid, const char *gname,
- uint64_t size, int64_t mtime, char type, const char *linkname);
+ uint64_t size, uint64_t mtime, char type, const char *linkname);
int
opkg_opk_ustar_get_buffer(struct opkg_opk_ustar *ustar, char **buffer,