summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2008-05-03 19:53:02 (GMT)
committerdas <das>2008-05-03 19:53:02 (GMT)
commitca7207787232c5a4f2a056c7361ce9417807d8ff (patch)
tree3db0d4b3c106baf0bd6be83d1eb4ec8295d64e2e
parent1d8953abd7905c8903563b4cc0f0b3400fa38fb3 (diff)
downloadtk-ca7207787232c5a4f2a056c7361ce9417807d8ff.zip
tk-ca7207787232c5a4f2a056c7361ce9417807d8ff.tar.gz
tk-ca7207787232c5a4f2a056c7361ce9417807d8ff.tar.bz2
fix constness warnings
-rw-r--r--generic/tkCanvas.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 3d5240e..79c7345 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvas.c,v 1.48 2008/04/27 22:38:55 dkf Exp $
+ * RCS: @(#) $Id: tkCanvas.c,v 1.49 2008/05/03 19:53:02 das Exp $
*/
/* #define USE_OLD_TAG_SEARCH 1 */
@@ -4811,12 +4811,12 @@ CanvasDoEvent(
(numObjects * sizeof(ClientData)));
}
#ifdef USE_OLD_TAG_SEARCH
- objectPtr[0] = Tk_GetUid("all");
+ objectPtr[0] = (ClientData) Tk_GetUid("all");
#else /* USE_OLD_TAG_SEARCH */
- objectPtr[0] = searchUids->allUid;
+ objectPtr[0] = (ClientData) searchUids->allUid;
#endif /* USE_OLD_TAG_SEARCH */
for (i = itemPtr->numTags-1; i >= 0; i--) {
- objectPtr[i+1] = itemPtr->tagPtr[i];
+ objectPtr[i+1] = (ClientData) itemPtr->tagPtr[i];
}
objectPtr[itemPtr->numTags+1] = itemPtr;