summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-04 21:56:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-04 21:56:05 (GMT)
commit30561dab14d592b111f7fa0206d79c9c265b00ea (patch)
tree55f588c511ea16d7dc14ef7484a345054a3ce7ec
parent648a206e4e84223452459789db5cec14c7cb6fbe (diff)
parent69b73058c94347b31dd99a8e3e6918389225432b (diff)
downloadtk-30561dab14d592b111f7fa0206d79c9c265b00ea.zip
tk-30561dab14d592b111f7fa0206d79c9c265b00ea.tar.gz
tk-30561dab14d592b111f7fa0206d79c9c265b00ea.tar.bz2
Satisfy required position of __stdcall from VC++
-rw-r--r--win/tkWinX.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index 49ba438..6c44059 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -125,8 +125,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);