diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-07 21:56:39 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-07 21:56:39 (GMT) |
commit | 71b4090ae02441f5b4d00e4dbc2f1bcde3450673 (patch) | |
tree | c7eec21ad0a6f5318082759b6c2f365484128120 /win/tclWinConsole.c | |
parent | d67302e94fb352aa9ccd2937dedc696214a279ae (diff) | |
download | tcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.zip tcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.tar.gz tcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.tar.bz2 |
MSVC 6 does not have the %I modifier in sprintf
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r-- | win/tclWinConsole.c | 2 |
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); |