diff options
author | hobbs <hobbs@noemail.net> | 2000-01-21 02:26:24 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-01-21 02:26:24 (GMT) |
commit | 05f3d2b21d5681966b0e4b5792f64ed5d951efcb (patch) | |
tree | df03513f565e867bfb3652a6134683cbd142d033 /unix/tclUnixNotfy.c | |
parent | 26d804dba72fe619d3b241c87dbdcfbd3dc3b045 (diff) | |
download | tcl-05f3d2b21d5681966b0e4b5792f64ed5d951efcb.zip tcl-05f3d2b21d5681966b0e4b5792f64ed5d951efcb.tar.gz tcl-05f3d2b21d5681966b0e4b5792f64ed5d951efcb.tar.bz2 |
* unix/tclUnixNotfy.c (Tcl_InitNotifier): added cast for tsdPtr
FossilOrigin-Name: e486883673f183be36a3c9340671897a93c3a267
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r-- | unix/tclUnixNotfy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index d116f8a..f2c670b 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixNotfy.c,v 1.6 1999/10/21 02:18:09 hobbs Exp $ + * RCS: @(#) $Id: tclUnixNotfy.c,v 1.7 2000/01/21 02:26:25 hobbs Exp $ */ #include "tclInt.h" @@ -207,7 +207,8 @@ Tcl_InitNotifier() Tcl_MutexLock(¬ifierMutex); if (notifierCount == 0) { - if (TclpThreadCreate(¬ifierThread, NotifierThreadProc, NULL) != TCL_OK) { + if (TclpThreadCreate(¬ifierThread, NotifierThreadProc, NULL) + != TCL_OK) { panic("Tcl_InitNotifier: unable to start notifier thread"); } } @@ -223,7 +224,7 @@ Tcl_InitNotifier() Tcl_MutexUnlock(¬ifierMutex); #endif - return tsdPtr; + return (ClientData) tsdPtr; } /* |