summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-09-01 17:40:39 (GMT)
committerhobbs <hobbs>2004-09-01 17:40:39 (GMT)
commit2a6660d57de536e5da57cbf735bec60b9013bdc8 (patch)
tree66482e59f290fb3e3be48f2942acca8ee5fedc99 /win/tclWinReg.c
parent16b932f7c4cf8850d44cd00d7759e513af539903 (diff)
downloadtcl-2a6660d57de536e5da57cbf735bec60b9013bdc8.zip
tcl-2a6660d57de536e5da57cbf735bec60b9013bdc8.tar.gz
tcl-2a6660d57de536e5da57cbf735bec60b9013bdc8.tar.bz2
WIN64 corrections
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r--win/tclWinReg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 61be3d2..d113f87 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinReg.c,v 1.28 2004/04/06 22:25:58 dgp Exp $
+ * RCS: @(#) $Id: tclWinReg.c,v 1.29 2004/09/01 17:40:39 hobbs Exp $
*/
#include "tclInt.h"
@@ -1408,7 +1408,7 @@ BroadcastValue(
int objc, /* Number of arguments. */
Tcl_Obj * CONST objv[]) /* Argument values. */
{
- DWORD result, sendResult;
+ LRESULT result, sendResult;
UINT timeout = 3000;
int len;
char *str;
@@ -1442,8 +1442,8 @@ BroadcastValue(
(WPARAM) 0, (LPARAM) str, SMTO_ABORTIFHUNG, timeout, &sendResult);
objPtr = Tcl_NewObj();
- Tcl_ListObjAppendElement(NULL, objPtr, Tcl_NewIntObj((int) result));
- Tcl_ListObjAppendElement(NULL, objPtr, Tcl_NewIntObj((int) sendResult));
+ Tcl_ListObjAppendElement(NULL, objPtr, Tcl_NewLongObj((long) result));
+ Tcl_ListObjAppendElement(NULL, objPtr, Tcl_NewLongObj((long) sendResult));
Tcl_SetObjResult(interp, objPtr);
return TCL_OK;