summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 12:03:25 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 12:03:25 (GMT)
commit903896e1fb81b2b013ce59770e9a0e1b11e169f9 (patch)
tree380c8174739958989e5022ea5c613c74b7747df6 /win/tclWinConsole.c
parentfdec8519ebd64a369ec69b1552614e1861220b28 (diff)
parenta55a21d26f0214c0912bd8930ef7233731971ec3 (diff)
downloadtcl-903896e1fb81b2b013ce59770e9a0e1b11e169f9.zip
tcl-903896e1fb81b2b013ce59770e9a0e1b11e169f9.tar.gz
tcl-903896e1fb81b2b013ce59770e9a0e1b11e169f9.tar.bz2
[Bug 3388350] mingw64 compiler warnings
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 ebba41a..8be8e09 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1362,7 +1362,7 @@ TclWinOpenConsoleChannel(
* for instance).
*/
- wsprintfA(channelName, "file%lx", (int) infoPtr);
+ wsprintfA(channelName, "file%lx", PTR2INT(infoPtr));
infoPtr->channel = Tcl_CreateChannel(&consoleChannelType, channelName,
(ClientData) infoPtr, permissions);