summaryrefslogtreecommitdiff
path: root/firmware/common/zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/zip.c')
-rw-r--r--firmware/common/zip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/zip.c b/firmware/common/zip.c
index e3ffd90af2..c2e5da6651 100644
--- a/firmware/common/zip.c
+++ b/firmware/common/zip.c
@@ -305,7 +305,7 @@ static int zip_read_cd(struct zip* z, bool use_cb) {
305 305
306 args->entry = i + 1; 306 args->entry = i + 1;
307 args->file_size = cd->uncompressed_size; 307 args->file_size = cd->uncompressed_size;
308 args->modts = dostime_mktime(letoh16(cdd->date), letoh16(cdd->time)); 308 args->mtime = dostime_mktime(letoh16(cdd->date), letoh16(cdd->time));
309 309
310 memcpy(lf->name, mem, name_length); 310 memcpy(lf->name, mem, name_length);
311 lf->name[name_length] = '\0'; 311 lf->name[name_length] = '\0';
@@ -426,7 +426,7 @@ static int zip_read_entry(struct zip* z, uint16_t i, void* mem, uint32_t mem_siz
426 426
427 args->entry = i + 1; 427 args->entry = i + 1;
428 args->file_size = lf->uncompressed_size; 428 args->file_size = lf->uncompressed_size;
429 args->modts = dostime_mktime(lf->date, lf->time); 429 args->mtime = dostime_mktime(lf->date, lf->time);
430 args->block = NULL; 430 args->block = NULL;
431 args->block_size = 0; 431 args->block_size = 0;
432 args->read_size = 0; 432 args->read_size = 0;