summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXBitmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-09 15:21:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-09 15:21:43 (GMT)
commit6b305ada3d3a68c00bc6ddaf163ae327f1c44e05 (patch)
tree26848189e63590678293f2ff1f2fee1ed9808009 /macosx/tkMacOSXBitmap.c
parentd618cd4a9d9fc73586c882e5ab59eb62bfe2f7db (diff)
downloadtk-6b305ada3d3a68c00bc6ddaf163ae327f1c44e05.zip
tk-6b305ada3d3a68c00bc6ddaf163ae327f1c44e05.tar.gz
tk-6b305ada3d3a68c00bc6ddaf163ae327f1c44e05.tar.bz2
Whitespace cleanup, syncronize a little with "trunk" version.
Diffstat (limited to 'macosx/tkMacOSXBitmap.c')
-rw-r--r--macosx/tkMacOSXBitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXBitmap.c b/macosx/tkMacOSXBitmap.c
index 1a20bd5..cf46202 100644
--- a/macosx/tkMacOSXBitmap.c
+++ b/macosx/tkMacOSXBitmap.c
@@ -210,7 +210,7 @@ OSTypeFromString(const char *s, OSType *t) {
Tcl_UtfToExternalDString(encoding, s, -1, &ds);
if (Tcl_DStringLength(&ds) <= 4) {
char string[4] = {};
- memcpy(string, Tcl_DStringValue(&ds), (size_t) Tcl_DStringLength(&ds));
+ memcpy(string, Tcl_DStringValue(&ds), Tcl_DStringLength(&ds));
*t = (OSType) string[0] << 24 | (OSType) string[1] << 16 |
(OSType) string[2] << 8 | (OSType) string[3];
result = TCL_OK;