mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
- Fixed bug #53568 (swapped memset arguments in struct initialization).
This commit is contained in:
parent
ddf42dde2f
commit
9a52c2f370
@ -473,9 +473,7 @@ _zip_dirent_write(struct zip_dirent *zde, FILE *fp, int localp,
|
||||
static time_t
|
||||
_zip_d2u_time(int dtime, int ddate)
|
||||
{
|
||||
struct tm tm;
|
||||
|
||||
memset(&tm, sizeof(tm), 0);
|
||||
struct tm tm = {0};
|
||||
|
||||
/* let mktime decide if DST is in effect */
|
||||
tm.tm_isdst = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user