diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-04-04 06:34:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-04-04 06:34:40 (GMT) |
commit | 2eb951782866ecd73369684de756732a468a79e1 (patch) | |
tree | 804636611ff0ae8242adfab2a8b9a067f4466a54 /unix/tkUnixSelect.c | |
parent | 6d61d799f483c98a1e0aeb624fa001a7fce24af0 (diff) | |
download | tk-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.c | 2 |
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 { /* |