Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #78282: atime and mtime mismatch
This commit is contained in:
Christoph M. Becker 2019-07-13 09:45:14 +02:00
commit 6e630fe79b

View File

@ -769,7 +769,7 @@ static zend_always_inline void UnixTimeToFileTime(time_t t, LPFILETIME pft) /* {
// Note that LONGLONG is a 64-bit value
LONGLONG ll;
ll = t * 10000000 + 116444736000000000;
ll = t * 10000000LL + 116444736000000000LL;
pft->dwLowDateTime = (DWORD)ll;
pft->dwHighDateTime = ll >> 32;
}