freebsd-ports/lang/tclX/files/patch-unix_tclXunixDup.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
354 B
C

--- unix/tclXunixDup.c.orig 2014-07-30 16:57:13.000000000 +0200
+++ unix/tclXunixDup.c 2014-07-30 17:00:42.000000000 +0200
@@ -84,7 +84,7 @@
char *targetChannelId;
{
ClientData handle;
- Tcl_ChannelType *channelType;
+ const Tcl_ChannelType *channelType;
Tcl_Channel newChannel = NULL;
int srcFileNum, newFileNum = -1;