From 5b39dc76f1bc82f941d5c800ab9f34407a06b53a Mon Sep 17 00:00:00 2001 From: Igor Pavlov <87184205+ip7z@users.noreply.github.com> Date: Wed, 21 Jun 2023 00:00:00 +0000 Subject: 23.01 --- CPP/Windows/TimeUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CPP/Windows/TimeUtils.cpp') diff --git a/CPP/Windows/TimeUtils.cpp b/CPP/Windows/TimeUtils.cpp index 77d2c51..e80ae13 100644 --- a/CPP/Windows/TimeUtils.cpp +++ b/CPP/Windows/TimeUtils.cpp @@ -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; -- cgit v1.2.3-55-g6feb