summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-01 15:28:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-01 15:28:57 (GMT)
commit6d4603bb456faca725ce88df0fafa68600989d32 (patch)
tree2fe0e5d513147f9cfa9d137bb5ab40be7b1f9718 /generic
parentfabaafee56263f618a25e27e842a2412a8a61bb3 (diff)
parentbf70c2d93b36e4011aa8375545012580016e1bf5 (diff)
downloadtcl-6d4603bb456faca725ce88df0fafa68600989d32.zip
tcl-6d4603bb456faca725ce88df0fafa68600989d32.tar.gz
tcl-6d4603bb456faca725ce88df0fafa68600989d32.tar.bz2
Merge 9.0
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);
}
/*