summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-24 20:54:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-24 20:54:34 (GMT)
commit6bdd87140b59bb9442e2e281da2c1c65bfaccd37 (patch)
treefa51bc676868b1afd638f3d236204ef929913451 /unix
parent875e3b392ba9b930fa009077b451b08f15b4ea72 (diff)
parentaf3e9b9825f98a98907966cdd71286c1f00c8bcf (diff)
downloadtcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.zip
tcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.tar.gz
tcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.tar.bz2
More work in progress
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixChan.c5
-rw-r--r--unix/tclUnixInit.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 25bc70f..62a8c16 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -596,7 +596,7 @@ TtySetOptionProc(
TtyState *fsPtr = (TtyState *)instanceData;
size_t len, vlen;
TtyAttrs tty;
- int argc;
+ size_t argc;
const char **argv;
struct termios iostate;
@@ -731,7 +731,8 @@ TtySetOptionProc(
if ((len > 4) && (strncmp(optionName, "-ttycontrol", len) == 0)) {
#if defined(TIOCMGET) && defined(TIOCMSET)
- int i, control, flag;
+ int control, flag;
+ size_t i;
if (Tcl_SplitList(interp, value, &argc, &argv) == TCL_ERROR) {
return TCL_ERROR;
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index f8bca0f..104f001 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -478,7 +478,7 @@ TclpInitLibraryPath(
if ((str != NULL) && (str[0] != '\0')) {
Tcl_DString ds;
- int pathc;
+ size_t pathc;
const char **pathv;
char installLib[LIBRARY_SIZE];