summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-07 21:56:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-07 21:56:39 (GMT)
commit71b4090ae02441f5b4d00e4dbc2f1bcde3450673 (patch)
treec7eec21ad0a6f5318082759b6c2f365484128120 /win/tclWinPipe.c
parentd67302e94fb352aa9ccd2937dedc696214a279ae (diff)
downloadtcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.zip
tcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.tar.gz
tcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.tar.bz2
MSVC 6 does not have the %I modifier in sprintf
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 7fece95..8706f23 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -1630,7 +1630,7 @@ TclpCreateCommandChannel(
* unique, in case channels share handles (stdin/stdout).
*/
- sprintf(channelName, "file%Ix", (size_t) infoPtr);
+ sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t) infoPtr);
infoPtr->channel = Tcl_CreateChannel(&pipeChannelType, channelName,
infoPtr, infoPtr->validMask);