summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixWm.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/tkUnixWm.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/tkUnixWm.c')
-rw-r--r--unix/tkUnixWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 2a940bc..a0adbde 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -3005,7 +3005,7 @@ WmProtocolCmd(
register ProtocolHandler *protPtr, *prevPtr;
Atom protocol;
const char *cmd;
- size_t cmdLength;
+ TkSizeT cmdLength;
if ((objc < 3) || (objc > 5)) {
Tcl_WrongNumArgs(interp, 2, objv, "window ?name? ?command?");
@@ -5456,7 +5456,7 @@ SetNetWmType(
for (n = 0; n < objc; ++n) {
Tcl_DString ds, dsName;
- size_t len;
+ TkSizeT len;
char *name = TkGetStringFromObj(objv[n], &len);
Tcl_UtfToUpper(name);