summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-11 13:07:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-11 13:07:24 (GMT)
commitec626d9a15ab4e8cc45adbe98c750d05aaba7ec6 (patch)
treed2a281b7f0497e5f0a2b7d3e1fa65294b11a0ba6 /unix/tclUnixInit.c
parent1c5831fa439ec0ee7a7f63fa15753b0ff46c5100 (diff)
parent30710a3cbde4192fff4a2f255c2fff0491dec7ac (diff)
downloadtcl-ec626d9a15ab4e8cc45adbe98c750d05aaba7ec6.zip
tcl-ec626d9a15ab4e8cc45adbe98c750d05aaba7ec6.tar.gz
tcl-ec626d9a15ab4e8cc45adbe98c750d05aaba7ec6.tar.bz2
Merge 8.6
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index f5d8fee..b67d91d 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -874,7 +874,7 @@ TclpSetVariables(
#ifdef __CYGWIN__
unameOK = 1;
if (!osInfoInitialized) {
- HANDLE handle = GetModuleHandleW(L"NTDLL");
+ void *handle = GetModuleHandleW(L"NTDLL");
int(__stdcall *getversion)(void *) =
(int(__stdcall *)(void *))GetProcAddress(handle, "RtlGetVersion");
osInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);