Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nick Mathewson
Tor
Commits
b560d94a
Commit
b560d94a
authored
Aug 08, 2019
by
Nick Mathewson
🏃
Browse files
Merge branch 'ticket31374_029' into ticket31374_035
parents
e83eabc9
3a280b35
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/ticket31374
0 → 100644
View file @
b560d94a
o Minor bugfixes (compilation warning):
- Fix a compilation warning on Windows about casting a function
pointer for GetTickCount64(). Fixes bug 31374; bugfix on
0.2.9.1-alpha.
src/lib/time/compat_time.c
View file @
b560d94a
...
...
@@ -519,7 +519,7 @@ monotime_init_internal(void)
HANDLE
h
=
load_windows_system_library
(
TEXT
(
"kernel32.dll"
));
if
(
h
)
{
GetTickCount64_fn
=
(
GetTickCount64_fn_t
)
GetTickCount64_fn
=
(
GetTickCount64_fn_t
)
(
void
(
*
)(
void
))
GetProcAddress
(
h
,
"GetTickCount64"
);
}
// FreeLibrary(h) ?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment