diff options
| author | andreask@activestate.com <andreas_kupries> | 2005-09-09 19:09:48 (GMT) |
|---|---|---|
| committer | andreask@activestate.com <andreas_kupries> | 2005-09-09 19:09:48 (GMT) |
| commit | ffae8bc8678954b526686e5cd6f806950898724b (patch) | |
| tree | 8e7623cef92929efee5a0c823fde1772098e19b3 | |
| parent | da777eade948a2a0473d876e10f9f81cbf147357 (diff) | |
| download | tcl-ffae8bc8678954b526686e5cd6f806950898724b.zip tcl-ffae8bc8678954b526686e5cd6f806950898724b.tar.gz tcl-ffae8bc8678954b526686e5cd6f806950898724b.tar.bz2 | |
* 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.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | generic/tclIORChan.c | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2005-09-09 Andreas Kupries <andreask@activestate.com> + + * 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 <kennykb@acm.org> * 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 <tclInt.h> @@ -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" : |
