summaryrefslogtreecommitdiffstats
path: root/generic/tkGeometry.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkGeometry.c')
-rw-r--r--generic/tkGeometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkGeometry.c b/generic/tkGeometry.c
index 2e0009a..eab3850 100644
--- a/generic/tkGeometry.c
+++ b/generic/tkGeometry.c
@@ -587,7 +587,7 @@ Tk_UnmaintainGeometry(
if (!(((TkWindow *) slave)->flags & TK_ALREADY_DEAD)) {
Tk_UnmapWindow(slave);
}
- hPtr = Tcl_FindHashEntry(&dispPtr->maintainHashTable, (char *) master);
+ hPtr = Tcl_FindHashEntry(&dispPtr->maintainHashTable, master);
if (hPtr == NULL) {
return;
}