summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-08 10:23:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-08 10:23:47 (GMT)
commit7976f45d25a13d51281a508362c232fa5bc770f1 (patch)
tree303000502a24c6a65536babdabe15b4c9bfb6953 /win/tclWinPipe.c
parent22494dcc59a1b43be12abc4288197002cf2b8bf7 (diff)
downloadtcl-7976f45d25a13d51281a508362c232fa5bc770f1.zip
tcl-7976f45d25a13d51281a508362c232fa5bc770f1.tar.gz
tcl-7976f45d25a13d51281a508362c232fa5bc770f1.tar.bz2
add TCL_I_MODIFIER and use it in the correct places
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 0ef8d19..9a529d2 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -1707,7 +1707,7 @@ TclpCreateCommandChannel(
* unique, in case channels share handles (stdin/stdout).
*/
- wsprintfA(channelName, "file%lx", infoPtr);
+ sprintf(channelName, "file" TCL_I_MODIFIER "x", (size_t)infoPtr);
infoPtr->channel = Tcl_CreateChannel(&pipeChannelType, channelName,
(ClientData) infoPtr, infoPtr->validMask);