diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-03-07 21:56:39 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-03-07 21:56:39 (GMT) |
commit | 5be277969505a3c4e25d4b8d941050831ed5d270 (patch) | |
tree | c7eec21ad0a6f5318082759b6c2f365484128120 /win/tclWinSerial.c | |
parent | 25ef77e709e62c5e9d21c08ce37513ac31af58bf (diff) | |
download | tcl-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/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); |