diff options
author | Steve Bennett <steveb@workware.net.au> | 2018-07-14 13:51:55 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2018-09-04 08:00:23 +1000 |
commit | 7e7af2944f2dfaa5398e88d49e2941e786a56925 (patch) | |
tree | ad0f0f3317035aa9238bf26d6fd52d57bfefb478 /jim-tty.c | |
parent | 6c8193e4380f2e8817e9020053027ea0c39cdb27 (diff) | |
download | jimtcl-7e7af2944f2dfaa5398e88d49e2941e786a56925.zip jimtcl-7e7af2944f2dfaa5398e88d49e2941e786a56925.tar.gz jimtcl-7e7af2944f2dfaa5398e88d49e2941e786a56925.tar.bz2 |
Tidy some signed/unsigned comparisons
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-tty.c')
-rw-r--r-- | jim-tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -146,7 +146,7 @@ static void JimListAddPair(Jim_Interp *interp, Jim_Obj *listObjPtr, const char * Jim_Obj *Jim_GetTtySettings(Jim_Interp *interp, int fd) { struct termios tio; - int i; + size_t i; const char *p; Jim_Obj *listObjPtr; speed_t speed; @@ -215,7 +215,7 @@ int Jim_SetTtySettings(Jim_Interp *interp, int fd, Jim_Obj *dictObjPtr) int opt; const struct flag_name_map *p; long l; - int j; + size_t j; if (Jim_GetEnum(interp, nameObj, tty_settings_names, &opt, "setting", JIM_ERRMSG | JIM_ENUM_ABBREV) != JIM_OK) { return JIM_ERR; |