summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-04-26 13:49:11 (GMT)
committerdkf <dkf@noemail.net>2010-04-26 13:49:11 (GMT)
commitb04dd21c7cbf470af517031d7980a2d8ea9174fb (patch)
tree5b7dd3a9406d3760c0de95f32c6f289629d38443 /unix
parent4b73e3b1758e9e3c4bb441d216531c31a2193f78 (diff)
downloadtcl-b04dd21c7cbf470af517031d7980a2d8ea9174fb.zip
tcl-b04dd21c7cbf470af517031d7980a2d8ea9174fb.tar.gz
tcl-b04dd21c7cbf470af517031d7980a2d8ea9174fb.tar.bz2
* unix/tclLoadDl.c (FindSymbol): [Bug 2992295]: Added an explicit cast
because auto-casting between function and non-function types is never naturally warning-free. FossilOrigin-Name: 5dc374b21c44474886ec9947e58fa60b3c6df294
Diffstat (limited to 'unix')
-rw-r--r--unix/tclLoadDl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadDl.c b/unix/tclLoadDl.c
index 0620bd3..71349bb 100644
--- a/unix/tclLoadDl.c
+++ b/unix/tclLoadDl.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLoadDl.c,v 1.21 2010/04/05 07:38:08 dkf Exp $
+ * RCS: @(#) $Id: tclLoadDl.c,v 1.22 2010/04/26 13:49:12 dkf Exp $
*/
#include "tclInt.h"
@@ -172,7 +172,7 @@ FindSymbol(
Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "LOAD_SYMBOL", symbol,
NULL);
}
- return proc;
+ return (void *) proc;
}
/*