summaryrefslogtreecommitdiffstats
path: root/win/tclWinDde.c
diff options
context:
space:
mode:
authorandreask <andreask>2011-08-22 16:28:43 (GMT)
committerandreask <andreask>2011-08-22 16:28:43 (GMT)
commit975f25e21740148f39d80952825b21b199e72834 (patch)
treec3632cbd441b75ee331d9c640fb7d423321a6fa5 /win/tclWinDde.c
parentf2054262fbac2894282690c5313788f0608771e7 (diff)
downloadtcl-975f25e21740148f39d80952825b21b199e72834.zip
tcl-975f25e21740148f39d80952825b21b199e72834.tar.gz
tcl-975f25e21740148f39d80952825b21b199e72834.tar.bz2
Fixed use of C99 features breaking the build with MSVC6. The problem was introduced with checkin [e9a08358f4].
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r--win/tclWinDde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index d180878..0d5f7d7 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -1254,8 +1254,8 @@ Tcl_DdeObjCmd(
break;
}
case DDE_POKE: {
- itemString = Tcl_GetStringFromObj(objv[firstArg + 2], &length);
BYTE *dataString;
+ itemString = Tcl_GetStringFromObj(objv[firstArg + 2], &length);
if (length == 0) {
Tcl_SetStringObj(Tcl_GetObjResult(interp),
"cannot have a null item", -1);