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