From 1e06a39ac743012905d07c5286949994310b8d93 Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Fri, 9 Sep 2005 19:09:48 +0000 Subject: * generic/tclIORChan.c (RcDecodeEventMask): Added missing type declaration for the parameter 'mask'. This fixes the [SF Tcl Bug 1286256]. The other warning can be removed only by removing the panic/return code. --- ChangeLog | 7 +++++++ generic/tclIORChan.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7bf5342..85fe7f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-09-09 Andreas Kupries + + * generic/tclIORChan.c (RcDecodeEventMask): Added missing type + declaration for the parameter 'mask'. This fixes the [SF Tcl Bug + 1286256]. The other warning can be removed only by removing the + panic/return code. + 2005-09-09 Kevin Kenny * generic/tclStringObj.c: Added two missing casts to silence diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c index f5d4f63..26cc50c 100644 --- a/generic/tclIORChan.c +++ b/generic/tclIORChan.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIORChan.c,v 1.2 2005/09/02 19:23:46 andreas_kupries Exp $ + * RCS: @(#) $Id: tclIORChan.c,v 1.3 2005/09/09 19:09:48 andreas_kupries Exp $ */ #include @@ -1838,6 +1838,7 @@ RcEncodeEventMask (interp, objName, obj, mask) static Tcl_Obj* RcDecodeEventMask (mask) + int mask; { Tcl_Obj* evObj = Tcl_NewStringObj (((mask & RANDW) == RANDW) ? "read write" : -- cgit v0.12