Skip to content

Commit

Permalink
time_win32: Update dead link (#438)
Browse files Browse the repository at this point in the history
Signed-off-by: Silvio Traversaro <silvio@traversaro.it>
  • Loading branch information
traversaro authored Nov 8, 2023
1 parent 3b5344a commit 645cc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rcutils_system_time_now(rcutils_time_point_value_t * now)
li.LowPart = ft.dwLowDateTime;
li.HighPart = ft.dwHighDateTime;
// Adjust for January 1st, 1970, see:
// https://support.microsoft.com/en-us/kb/167296
// https://support.microsoft.com/en-us/topic/bf03df72-96e4-59f3-1d02-b6781002dc7f
li.QuadPart -= 116444736000000000;
// Convert to nanoseconds from 100's of nanoseconds.
*now = li.QuadPart * 100;
Expand Down

0 comments on commit 645cc02

Please sign in to comment.