Skip to content

Commit

Permalink
comment and bump ci
Browse files Browse the repository at this point in the history
Change-type: minor
  • Loading branch information
MrSmoer committed Aug 21, 2023
1 parent 7960dc5 commit e5e3235
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/windows/list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,12 @@ bool GetDetailData(DeviceDescriptor* device,
memmove(&filetime, buffer.data(), buffer.capacity());
li.LowPart=filetime.dwLowDateTime;
li.HighPart=filetime.dwHighDateTime;
//is this even necessary?
FILETIME localFileTime;
FileTimeToLocalFileTime(&filetime, &localFileTime);
SYSTEMTIME systemTime;
FileTimeToSystemTime(&localFileTime, &systemTime);

device->attachTimestamp = (li.QuadPart-UNIX_TIME_START) / TICKS_PER_SECOND;
} // end for (index = 0; ; index++)

Expand Down

0 comments on commit e5e3235

Please sign in to comment.