diff options
author | nijtmans <nijtmans@noemail.net> | 2010-04-27 08:19:59 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-04-27 08:19:59 (GMT) |
commit | e9e0e78703053faf0be0198215f3f6b1a8efbd16 (patch) | |
tree | c4351ee8caaf919d886336c64cbe230894b5d216 /generic/tclIOUtil.c | |
parent | fef1b36423b622989b75e95412ba658bb408866c (diff) | |
download | tcl-e9e0e78703053faf0be0198215f3f6b1a8efbd16.zip tcl-e9e0e78703053faf0be0198215f3f6b1a8efbd16.tar.gz tcl-e9e0e78703053faf0be0198215f3f6b1a8efbd16.tar.bz2 |
[Bug 2992292]: tclIOUtil.c assignment type mismatch compiler warning
FossilOrigin-Name: bacf1b059ecabaa27c1c144c059bf16636c0fa67
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r-- | generic/tclIOUtil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c index 69114e3..eb2eb92 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -17,7 +17,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOUtil.c,v 1.175 2010/04/22 11:40:31 nijtmans Exp $ + * RCS: @(#) $Id: tclIOUtil.c,v 1.176 2010/04/27 08:20:00 nijtmans Exp $ */ #include "tclInt.h" @@ -3466,8 +3466,8 @@ TclpLoadFile( *clientDataPtr = handle; - *proc1Ptr = Tcl_FindSymbol(interp, handle, sym1); - *proc2Ptr = Tcl_FindSymbol(interp, handle, sym2); + *proc1Ptr = (Tcl_PackageInitProc*) Tcl_FindSymbol(interp, handle, sym1); + *proc2Ptr = (Tcl_PackageInitProc*) Tcl_FindSymbol(interp, handle, sym2); return TCL_OK; } @@ -4550,7 +4550,7 @@ Tcl_FSGetFileSystemForPath( * functions not in this file), then one cannot necessarily guarantee * that the path object pointer is from the correct filesystem. * - * Note: in the future it might be desireable to have separate versions + * Note: in the future it might be desirable to have separate versions * of this function with different signatures, for example * Tcl_FSGetNativeWinPath, Tcl_FSGetNativeUnixPath etc. Right now, since * native paths are all string based, we use just one function. |