summaryrefslogtreecommitdiffstats
path: root/src/opk/write.c
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-05-07 01:33:35 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-05-07 01:33:35 (EDT)
commiteb039d67a791638cf000ccec889bdc9026a07fa7 (patch)
tree916cf45f607372b69e2f295ce6899148517ce226 /src/opk/write.c
parent197411623bf69b3046a25ed44d63fc7e245ac7e3 (diff)
ustar: Make mtime unsigned
Diffstat (limited to 'src/opk/write.c')
-rw-r--r--src/opk/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opk/write.c b/src/opk/write.c
index 93ddc74..5ddd502 100644
--- a/src/opk/write.c
+++ b/src/opk/write.c
@@ -43,7 +43,7 @@ _opkg_opk_opk_write_file(void *user_data, size_t size)
}
static int
-_opkg_opk_opk_source_date_epoch(int64_t *mtime)
+_opkg_opk_opk_source_date_epoch(uint64_t *mtime)
{
char *env;
char *end;
@@ -63,7 +63,7 @@ int
opkg_opk_opk_write(struct opkg_opk_opk *opk, const char *file_name)
{
int ret;
- int64_t mtime;
+ uint64_t mtime;
struct opkg_opk_dirent dirent;
char *buffer;
size_t size;