mirror of
https://github.com/QuasarApp/zip.git
synced 2025-04-27 04:54:30 +00:00
Fix mz_zip_time_t_to_dos_time() call (#236)
This commit is contained in:
parent
dce6952692
commit
d7109a6368
@ -995,7 +995,9 @@ int zip_entry_open(struct zip_t *zip, const char *entryname) {
|
||||
local_dir_header_ofs += num_alignment_padding_bytes;
|
||||
|
||||
zip->entry.m_time = time(NULL);
|
||||
#ifndef MINIZ_NO_TIME
|
||||
mz_zip_time_t_to_dos_time(zip->entry.m_time, &dos_time, &dos_date);
|
||||
#endif
|
||||
|
||||
// ZIP64 header with NULL sizes (sizes will be in the data descriptor, just
|
||||
// after file data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user