summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 47b29bd..7afb031 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -2993,7 +2993,7 @@ CopyValue(
Tcl_Obj *objPtr,
void *dstPtr)
{
- dstPtr = objPtr;
+ *(Tcl_Obj **)dstPtr = objPtr;
return 1;
}