From a6f1c3969da8040f1f7306308d0154858276cc51 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 20 Oct 2009 21:39:31 +0200 Subject: Fix warnings * device/tty.h (tty): Set type of t_ispeed and t_ospeed members to unsigned char instead of (potentially signed) char. --- device/tty.h | 4 ++-- 1 file 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 */ -- cgit v1.2.3