diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-02-04 21:55:27 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-02-04 21:55:27 (GMT) |
commit | 1005448580c230f396de55c033c400f00ea72c82 (patch) | |
tree | ac6eb6829067e3406dead365890d6ba867939367 /win/tkWinX.c | |
parent | f4ec989f677bea864fc7d7d4f7ab2e55a4eca865 (diff) | |
download | tk-1005448580c230f396de55c033c400f00ea72c82.zip tk-1005448580c230f396de55c033c400f00ea72c82.tar.gz tk-1005448580c230f396de55c033c400f00ea72c82.tar.bz2 |
Satisfy required position of __stdcall from VC++
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 4 |
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); |