summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 21:39:31 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 21:40:34 +0200
commita6f1c3969da8040f1f7306308d0154858276cc51 (patch)
tree315b661581eb68c75fe202dbd3c7cf429f527e69
parent54553d88a0126e5ff68f12a5f734c635748db53d (diff)
Fix warnings
* device/tty.h (tty): Set type of t_ispeed and t_ospeed members to unsigned char instead of (potentially signed) char.
-rw-r--r--device/tty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/tty.h b/device/tty.h
index 865b13e..be28708 100644
--- a/device/tty.h
+++ b/device/tty.h
@@ -60,8 +60,8 @@ struct tty {
int (*t_mctl)(struct tty *, int, int);
/* (optional) routine to control
modem signals */
- char t_ispeed; /* input speed */
- char t_ospeed; /* output speed */
+ unsigned char t_ispeed; /* input speed */
+ unsigned char t_ospeed; /* output speed */
char t_breakc; /* character to deliver when 'break'
condition received */
int t_flags; /* mode flags */