diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-11 05:39:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-11 05:39:08 (GMT) |
commit | 4e0bc593116403aff19c85dd97514e36ed2a0e82 (patch) | |
tree | 21937654dd120ae841ab47a05d1d792b30ffc187 /generic/tclFileName.c | |
parent | 943be309a5c088d67a1748eccf9f5c50a803bace (diff) | |
download | tcl-4e0bc593116403aff19c85dd97514e36ed2a0e82.zip tcl-4e0bc593116403aff19c85dd97514e36ed2a0e82.tar.gz tcl-4e0bc593116403aff19c85dd97514e36ed2a0e82.tar.bz2 |
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r-- | generic/tclFileName.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index f7de10c..6cdfa7e 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.c @@ -598,7 +598,7 @@ Tcl_SplitPath( for (i = 0; i < *argcPtr; i++) { Tcl_ListObjIndex(NULL, resultPtr, i, &eltPtr); str = Tcl_GetStringFromObj(eltPtr, &len); - memcpy(p, str, (size_t) len+1); + memcpy(p, str, len+1); p += len+1; } |