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 | d73c6dbd81c0537e3d6df60dc145af1b6539d6d2 (patch) | |
| tree | 21937654dd120ae841ab47a05d1d792b30ffc187 /macosx/tclMacOSXFCmd.c | |
| parent | 36d06e1e0b240999e478c750f746a86dbd63caae (diff) | |
| download | tcl-d73c6dbd81c0537e3d6df60dc145af1b6539d6d2.zip tcl-d73c6dbd81c0537e3d6df60dc145af1b6539d6d2.tar.gz tcl-d73c6dbd81c0537e3d6df60dc145af1b6539d6d2.tar.bz2 | |
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int
Diffstat (limited to 'macosx/tclMacOSXFCmd.c')
| -rw-r--r-- | macosx/tclMacOSXFCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c index e462e5e..53b01e0 100644 --- a/macosx/tclMacOSXFCmd.c +++ b/macosx/tclMacOSXFCmd.c @@ -654,7 +654,7 @@ SetOSTypeFromAny( OSType osType; char bytes[4] = {'\0','\0','\0','\0'}; - memcpy(bytes, Tcl_DStringValue(&ds), (size_t)Tcl_DStringLength(&ds)); + memcpy(bytes, Tcl_DStringValue(&ds), Tcl_DStringLength(&ds)); osType = (OSType) bytes[0] << 24 | (OSType) bytes[1] << 16 | (OSType) bytes[2] << 8 | |
