mirror of
https://github.com/ip7z/7zip.git
synced 2026-04-21 06:03:40 +00:00
23.01
This commit is contained in:
parent
93be7d4abf
commit
5b39dc76f1
951 changed files with 39855 additions and 24810 deletions
|
|
@ -258,7 +258,7 @@ void GetCurUtc_FiTime(CFiTime &ft) throw()
|
|||
|
||||
FiTime_Clear(ft);
|
||||
struct timeval now;
|
||||
if (gettimeofday(&now, 0 ) == 0)
|
||||
if (gettimeofday(&now, NULL) == 0)
|
||||
{
|
||||
ft.tv_sec = now.tv_sec;
|
||||
ft.tv_nsec = now.tv_usec * 1000;
|
||||
|
|
@ -272,7 +272,7 @@ void GetCurUtcFileTime(FILETIME &ft) throw()
|
|||
{
|
||||
UInt64 v = 0;
|
||||
struct timeval now;
|
||||
if (gettimeofday(&now, 0 ) == 0)
|
||||
if (gettimeofday(&now, NULL) == 0)
|
||||
{
|
||||
v = ((UInt64)now.tv_sec + kUnixTimeOffset) *
|
||||
kNumTimeQuantumsInSecond + (UInt64)now.tv_usec * 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue