summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-06-21 21:19:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-06-21 21:19:31 (GMT)
commit43275fa6b210f53456fdd27679904f49a53ebbed (patch)
treef84e3ad31df3e5937ebbb98e41e7b8e7854caee6
parentc79aece8e069fedc176a325933523974a0460cb8 (diff)
downloadtk-dgp_modernize_init.zip
tk-dgp_modernize_init.tar.gz
tk-dgp_modernize_init.tar.bz2
Fixup the typecastingdgp_modernize_init
-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;
}