ports/lang/tclX/files/patch-generic_tclXdup.c
Pietro Cerutti 44ed15c688 - Chase compiler warnings
PR:		192370
Submitted by:	gahr
Approved by:	maintainer (timeout > 2 months)
2014-10-07 12:45:02 +00:00

11 lines
383 B
C

--- generic/tclXdup.c.orig 2014-07-30 16:44:06.000000000 +0200
+++ generic/tclXdup.c 2014-07-30 16:45:30.000000000 +0200
@@ -128,7 +128,7 @@
char *targetChannelId;
{
Tcl_Channel srcChannel, newChannel = NULL;
- Tcl_ChannelType *channelType;
+ const Tcl_ChannelType *channelType;
int mode;
srcChannel = Tcl_GetChannel (interp, srcChannelId, &mode);