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/tclWinSerial.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/tclWinSerial.c')
-rw-r--r-- | win/tclWinSerial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c index 3e766f3..819d866 100644 --- a/win/tclWinSerial.c +++ b/win/tclWinSerial.c @@ -1501,7 +1501,7 @@ TclWinOpenSerialChannel( * are shared between multiple channels (stdin/stdout). */ - sprintf(channelName, "file%Ix", (size_t) infoPtr); + sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t) infoPtr); infoPtr->channel = Tcl_CreateChannel(&serialChannelType, channelName, infoPtr, permissions); |