summaryrefslogtreecommitdiffstats
path: root/generic/tkCmds.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-25 15:32:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-25 15:32:11 (GMT)
commitb686909c25b4ce6bac5b383885345d16a4a41ffd (patch)
tree76f3545ffd1a47aaf678965bc11467b680e9e29e /generic/tkCmds.c
parent4130f00f7b4fe4f5f25a463cf32a3fa08c1f4b1c (diff)
downloadtk-b686909c25b4ce6bac5b383885345d16a4a41ffd.zip
tk-b686909c25b4ce6bac5b383885345d16a4a41ffd.tar.gz
tk-b686909c25b4ce6bac5b383885345d16a4a41ffd.tar.bz2
Eliminate many (Tcl_Size) typecasts, which are no longer necessary
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r--generic/tkCmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c
index e953255..1bf7b03 100644
--- a/generic/tkCmds.c
+++ b/generic/tkCmds.c
@@ -401,7 +401,7 @@ Tk_BindtagsObjCmd(
winPtr->numTags = length;
winPtr->tagPtr = (void **)ckalloc(length * sizeof(void *));
- for (i = 0; i < (Tcl_Size)length; i++) {
+ for (i = 0; i < length; i++) {
p = Tcl_GetString(tags[i]);
if (p[0] == '.') {
char *copy;