summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSelect.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-04-04 06:34:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-04-04 06:34:40 (GMT)
commit2eb951782866ecd73369684de756732a468a79e1 (patch)
tree804636611ff0ae8242adfab2a8b9a067f4466a54 /unix/tkUnixSelect.c
parent6d61d799f483c98a1e0aeb624fa001a7fce24af0 (diff)
downloadtk-2eb951782866ecd73369684de756732a468a79e1.zip
tk-2eb951782866ecd73369684de756732a468a79e1.tar.gz
tk-2eb951782866ecd73369684de756732a468a79e1.tar.bz2
Change size_t usages to (internal type) TkSizeT usages, which is "int" when compiling against 8.x headers.
Diffstat (limited to 'unix/tkUnixSelect.c')
-rw-r--r--unix/tkUnixSelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixSelect.c b/unix/tkUnixSelect.c
index 6155f54..5b450f4 100644
--- a/unix/tkUnixSelect.c
+++ b/unix/tkUnixSelect.c
@@ -449,7 +449,7 @@ TkSelPropProc(
if (srcLen > 4) {
Tcl_Panic("selection conversion left too many bytes unconverted");
}
- memcpy(incrPtr->converts[i].buffer, src, (size_t) srcLen+1);
+ memcpy(incrPtr->converts[i].buffer, src, srcLen + 1);
Tcl_DStringFree(&ds);
} else {
/*