mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge branch 'ticket31374_035' into maint-0.4.1
This commit is contained in:
commit
53d5b67f07
4
changes/ticket31374
Normal file
4
changes/ticket31374
Normal file
@ -0,0 +1,4 @@
|
||||
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.
|
@ -527,7 +527,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");
|
||||
}
|
||||
// We can't call FreeLibrary(h) here, because freeing the handle may
|
||||
|
Loading…
Reference in New Issue
Block a user