tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 65343a966e48e6eb49873f3cdb9a9f68bf72c70c
parent 4665ac9ec70105f490ebd810e58281e0c8f03926
Author: teor <teor@torproject.org>
Date:   Fri,  9 Aug 2019 09:49:35 +1000

Merge remote-tracking branch 'tor-github/pr/1222' into combined31343_31374_035

Diffstat:
Achanges/ticket31374 | 4++++
Msrc/lib/time/compat_time.c | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/changes/ticket31374 b/changes/ticket31374 @@ -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. diff --git a/src/lib/time/compat_time.c b/src/lib/time/compat_time.c @@ -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) ?