summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2012-03-01 09:33:13 (GMT)
committersebres <sebres@users.sourceforge.net>2012-03-01 09:33:13 (GMT)
commitef47313eef03ee52343691b4c838a2cb8d7e44c3 (patch)
tree0fb5e17e1a25aac72493aa45c4a99c88da5b7884
parentc2a45672bbf7864d9b68c70a8429a31006009f5e (diff)
downloadtcl-ef47313eef03ee52343691b4c838a2cb8d7e44c3.zip
tcl-ef47313eef03ee52343691b4c838a2cb8d7e44c3.tar.gz
tcl-ef47313eef03ee52343691b4c838a2cb8d7e44c3.tar.bz2
fix compile error win / visual studio
-rw-r--r--win/tclWinDde.c2
-rw-r--r--win/tclWinReg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index 9f39b37..1cbf4ce 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -1032,7 +1032,7 @@ DdeEnumWindowsCallback(
HWND hwndTarget,
LPARAM lParam)
{
- DWORD_PTR dwResult = 0;
+ DWORD dwResult = 0;
struct DdeEnumServices *es = (struct DdeEnumServices *) lParam;
SendMessageTimeout(hwndTarget, WM_DDE_INITIATE, (WPARAM)es->hwnd,
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 8eaf2a7..f4bdd00 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -1437,7 +1437,7 @@ BroadcastValue(
Tcl_Obj *CONST objv[]) /* Argument values. */
{
LRESULT result;
- DWORD_PTR sendResult;
+ DWORD sendResult;
UINT timeout = 3000;
int len;
CONST char *str;