diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 12:03:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 12:03:25 (GMT) |
commit | c40f358d218fd889c73f460de21aeafe79039ddd (patch) | |
tree | 380c8174739958989e5022ea5c613c74b7747df6 /win/tclWinDde.c | |
parent | 47d5c6556036a6b82202105616f7b702fb13e866 (diff) | |
parent | ea9c5d778a6e1dffabfb1138daa94f9ef796dabc (diff) | |
download | tcl-c40f358d218fd889c73f460de21aeafe79039ddd.zip tcl-c40f358d218fd889c73f460de21aeafe79039ddd.tar.gz tcl-c40f358d218fd889c73f460de21aeafe79039ddd.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r-- | win/tclWinDde.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c index df6507b..9f39b37 100644 --- a/win/tclWinDde.c +++ b/win/tclWinDde.c @@ -211,7 +211,7 @@ Initialize(void) if (ddeInstance == 0) { Tcl_MutexLock(&ddeMutex); if (ddeInstance == 0) { - if (DdeInitialize(&ddeInstance, DdeServerProc, + if (DdeInitialize(&ddeInstance, (PFNCALLBACK) DdeServerProc, CBF_SKIP_REGISTRATIONS | CBF_SKIP_UNREGISTRATIONS | CBF_FAIL_POKES, 0) != DMLERR_NO_ERROR) { ddeInstance = 0; @@ -957,7 +957,7 @@ DdeClientWindowProc( (struct DdeEnumServices *) lpcs->lpCreateParams; #ifdef _WIN64 - SetWindowLongPtr(hwnd, GWLP_USERDATA, (long)es); + SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR) es); #else SetWindowLong(hwnd, GWL_USERDATA, (long)es); #endif @@ -1032,7 +1032,7 @@ DdeEnumWindowsCallback( HWND hwndTarget, LPARAM lParam) { - DWORD dwResult = 0; + DWORD_PTR dwResult = 0; struct DdeEnumServices *es = (struct DdeEnumServices *) lParam; SendMessageTimeout(hwndTarget, WM_DDE_INITIATE, (WPARAM)es->hwnd, |