Changeset 72142 in vbox for trunk/src/VBox
- Timestamp:
- May 7, 2018 2:32:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/time2-win.cpp
r72140 r72142 78 78 { 79 79 pTime->fFlags = (pTime->fFlags & ~RTTIME_FLAGS_TYPE_MASK) | RTTIME_FLAGS_TYPE_LOCAL; 80 pTime->offUTC = ( LocalTime - *pTimeSpec) / RT_NS_1MIN;80 pTime->offUTC = (RTTimeSpecGetNano(&LocalTime) - RTTimeSpecGetNano(pTimeSpec)) / RT_NS_1MIN; 81 81 } 82 82 return pTime;
Note:
See TracChangeset
for help on using the changeset viewer.