summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-01 15:21:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-01 15:21:37 (GMT)
commitbf70c2d93b36e4011aa8375545012580016e1bf5 (patch)
treecc8c078fe337c6f25f850d161cb1a14da7a12d3f /generic
parent57b2b2606fc89ed19367b2421c0f41327e96c033 (diff)
parent64919a8531c279f01efec1720397b1f2bbdd24c2 (diff)
downloadtcl-bf70c2d93b36e4011aa8375545012580016e1bf5.zip
tcl-bf70c2d93b36e4011aa8375545012580016e1bf5.tar.gz
tcl-bf70c2d93b36e4011aa8375545012580016e1bf5.tar.bz2
Merge 8.7
Diffstat (limited to 'generic')
-rw-r--r--generic/tclOO.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c
index 8fde331..bc90335 100644
--- a/generic/tclOO.c
+++ b/generic/tclOO.c
@@ -137,7 +137,7 @@ static const Tcl_MethodType classConstructor = {
* file).
*/
-static const char *initScript =
+static const char initScript[] =
#ifndef TCL_NO_DEPRECATED
"package ifneeded TclOO " TCLOO_PATCHLEVEL " {# Already present, OK?};"
#endif
@@ -262,10 +262,10 @@ TclOOInit(
#ifndef TCL_NO_DEPRECATED
Tcl_PkgProvideEx(interp, "TclOO", TCLOO_PATCHLEVEL,
- (void *) &tclOOStubs);
+ &tclOOStubs);
#endif
return Tcl_PkgProvideEx(interp, "tcl::oo", TCLOO_PATCHLEVEL,
- (void *) &tclOOStubs);
+ &tclOOStubs);
}
/*