summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-03-07 21:56:39 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-03-07 21:56:39 (GMT)
commit5be277969505a3c4e25d4b8d941050831ed5d270 (patch)
treec7eec21ad0a6f5318082759b6c2f365484128120 /win/tclWinConsole.c
parent25ef77e709e62c5e9d21c08ce37513ac31af58bf (diff)
downloadtcl-5be277969505a3c4e25d4b8d941050831ed5d270.zip
tcl-5be277969505a3c4e25d4b8d941050831ed5d270.tar.gz
tcl-5be277969505a3c4e25d4b8d941050831ed5d270.tar.bz2
MSVC 6 does not have the %I modifier in sprintf
FossilOrigin-Name: ff727e02f444b910534437febc67f13ee06d08dc
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index f02b535..a056040 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1360,7 +1360,7 @@ TclWinOpenConsoleChannel(
* for instance).
*/
- sprintf(channelName, "file%Ix", (size_t) infoPtr);
+ sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t) infoPtr);
infoPtr->channel = Tcl_CreateChannel(&consoleChannelType, channelName,
infoPtr, permissions);