diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-25 15:32:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-25 15:32:11 (GMT) |
commit | b686909c25b4ce6bac5b383885345d16a4a41ffd (patch) | |
tree | 76f3545ffd1a47aaf678965bc11467b680e9e29e /generic/tkCmds.c | |
parent | 4130f00f7b4fe4f5f25a463cf32a3fa08c1f4b1c (diff) | |
download | tk-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.c | 2 |
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; |