summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.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/tclWinChan.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/tclWinChan.c')
-rw-r--r--win/tclWinChan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index 090eaea..bbf7c92 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -1336,7 +1336,7 @@ TclWinOpenFileChannel(
infoPtr->flags = appendMode;
infoPtr->handle = handle;
infoPtr->dirty = 0;
- sprintf(channelName, "file%Ix", (size_t) infoPtr);
+ sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t) infoPtr);
infoPtr->channel = Tcl_CreateChannel(&fileChannelType, channelName,
infoPtr, permissions);