зеркало из https://github.com/microsoft/Detours.git
Fixed#116 via changing to signed for negative diff (#146)
Addressed : Issue #116 [syelogd] Negative timing difference between successive events with option /d (delta time)
This commit is contained in:
Родитель
a3bdeaf006
Коммит
d8b8144c54
|
@ -93,7 +93,7 @@ static PCSTR FileTimeToString(PCHAR pszBuffer, DWORD cbBuffer, FILETIME ftTime)
|
|||
ul.LowPart = ftTime.dwLowDateTime;
|
||||
ul.HighPart = ftTime.dwHighDateTime;
|
||||
|
||||
ULONG64 delta = ul.QuadPart - s_llLastTime;
|
||||
LONG64 delta = ul.QuadPart - s_llLastTime;
|
||||
s_llLastTime = ul.QuadPart;
|
||||
delta /= 10000;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче