This type is not always defined by default, and is in fact an unnecessary type
cast.
Gbp-Pq: Name Remove-uintptr_t-cast.patch
/* create new tcl variable for this socket */
else{
/* create a tcl channel corresponding to the xpa socket */
- if( !(chan = Tcl_MakeTcpClientChannel((ClientData)(uintptr_t)xpa_cmdfd(xpa))) ){
+ if( !(chan = Tcl_MakeTcpClientChannel((ClientData)xpa_cmdfd(xpa))) ){
Tcl_SetResult(interp, "XPA$ERROR: could not map XPA cmdfd to tcl",
TCL_STATIC);
result = TCL_ERROR;
}
/* create new tcl variable for this socket */
else{
- if( !(chan = Tcl_MakeTcpClientChannel((ClientData)(uintptr_t)xpa_datafd(xpa))) ){
+ if( !(chan = Tcl_MakeTcpClientChannel((ClientData)xpa_datafd(xpa))) ){
Tcl_SetResult(interp, "XPA$ERROR: could not map XPA datafd to tcl",
TCL_STATIC);
result = TCL_ERROR;