diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-08 10:23:47 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-08 10:23:47 (GMT) |
commit | 81e496741b55cf661f300b8eda4eba3a91010fb1 (patch) | |
tree | 303000502a24c6a65536babdabe15b4c9bfb6953 /win/tclWinConsole.c | |
parent | 8c652eebaacd8ebb77c256428a3cda8a1bf8b814 (diff) | |
download | tcl-81e496741b55cf661f300b8eda4eba3a91010fb1.zip tcl-81e496741b55cf661f300b8eda4eba3a91010fb1.tar.gz tcl-81e496741b55cf661f300b8eda4eba3a91010fb1.tar.bz2 |
add TCL_I_MODIFIER and use it in the correct places
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 8be8e09..a86608c 100644 --- a/win/tclWinConsole.c +++ b/win/tclWinConsole.c @@ -1362,7 +1362,7 @@ TclWinOpenConsoleChannel( * for instance). */ - wsprintfA(channelName, "file%lx", PTR2INT(infoPtr)); + sprintf(channelName, "file" TCL_I_MODIFIER "x", (size_t)infoPtr); infoPtr->channel = Tcl_CreateChannel(&consoleChannelType, channelName, (ClientData) infoPtr, permissions); |