summaryrefslogtreecommitdiffstats
path: root/generic/tkTextWind.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-25 19:16:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-25 19:16:36 (GMT)
commitf2ecf42d53b17282da36e109e89fe2acd1b55c2c (patch)
tree0826a66e1f63db518901f5f3a25d9d20457b364c /generic/tkTextWind.c
parentd5d5545c57a09377d515cc3a613f42d8c9f07baf (diff)
parente7f49c28281e68c1fc9330c7a132f90d3742652a (diff)
downloadtk-f2ecf42d53b17282da36e109e89fe2acd1b55c2c.zip
tk-f2ecf42d53b17282da36e109e89fe2acd1b55c2c.tar.gz
tk-f2ecf42d53b17282da36e109e89fe2acd1b55c2c.tar.bz2
Merge trunk
Diffstat (limited to 'generic/tkTextWind.c')
-rw-r--r--generic/tkTextWind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTextWind.c b/generic/tkTextWind.c
index af3aa8e..191c86c 100644
--- a/generic/tkTextWind.c
+++ b/generic/tkTextWind.c
@@ -191,7 +191,7 @@ TkTextWindowCmd(
ewPtr->body.ew.tkwin = NULL;
}
- objPtr = Tk_GetOptionValue(interp, (char *) &ewPtr->body.ew,
+ objPtr = Tk_GetOptionValue(interp, &ewPtr->body.ew,
ewPtr->body.ew.optionTable, objv[4], textPtr->tkwin);
if (objPtr == NULL) {
return TCL_ERROR;
@@ -233,7 +233,7 @@ TkTextWindowCmd(
ewPtr->body.ew.tkwin = NULL;
}
- objPtr = Tk_GetOptionInfo(interp, (char *) &ewPtr->body.ew,
+ objPtr = Tk_GetOptionInfo(interp, &ewPtr->body.ew,
ewPtr->body.ew.optionTable, (objc == 5) ? objv[4] : NULL,
textPtr->tkwin);
if (objPtr == NULL) {
@@ -403,7 +403,7 @@ EmbWinConfigure(
}
oldWindow = ewPtr->body.ew.tkwin;
- if (Tk_SetOptions(textPtr->interp, (char *) &ewPtr->body.ew,
+ if (Tk_SetOptions(textPtr->interp, &ewPtr->body.ew,
ewPtr->body.ew.optionTable, objc, objv, textPtr->tkwin, NULL,
NULL) != TCL_OK) {
return TCL_ERROR;