long long

develop
Petr Mrázek 2010-06-11 20:13:37 +02:00
parent 3f099f8928
commit b732e63673
1 changed files with 2 additions and 2 deletions

@ -223,13 +223,13 @@ uint64_t FileTime_to_POSIX(FILETIME ft)
date.LowDword = ft.dwLowDateTime;
// 100-nanoseconds = milliseconds * 10000
adjust.Quad = 11644473600000 * 10000;
adjust.Quad = 11644473600000LL * 10000LL;
// removes the diff between 1970 and 1601
date.Quad -= adjust.Quad;
// converts back from 100-nanoseconds to seconds
return date.Quad / 10000000;
return date.Quad / 10000000LL;
}
void ProcessEnumerator::Private::EnumPIDs (vector <ProcessID> &PIDs)