summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2014-02-04 21:55:27 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2014-02-04 21:55:27 (GMT)
commite0731b19e0a3b7cafc88a396004412029583ced5 (patch)
treec7e4a20197ed03137dfb934abd2102f40146476e /win
parent5a55994e4713a14144fc6d29b3f8a129671ff478 (diff)
downloadtk-e0731b19e0a3b7cafc88a396004412029583ced5.zip
tk-e0731b19e0a3b7cafc88a396004412029583ced5.tar.gz
tk-e0731b19e0a3b7cafc88a396004412029583ced5.tar.bz2
Satisfy required position of __stdcall from VC++
FossilOrigin-Name: b0870dc332af0c74d73ac967b650e17781989015
Diffstat (limited to 'win')
-rw-r--r--win/tkWinX.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index 5457d43..cbd6032 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -171,8 +171,8 @@ TkGetServerInfo(
if (!buffer[0]) {
HANDLE handle = LoadLibraryW(L"NTDLL");
- __stdcall int(*getversion)(void *) =
- (__stdcall int(*)(void *))GetProcAddress(handle, "RtlGetVersion");
+ int(__stdcall *getversion)(void *) =
+ (int(__stdcall *)(void *))GetProcAddress(handle, "RtlGetVersion");
os.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);
if (!getversion || getversion(&os)) {
GetVersionExW(&os);