diff options
Diffstat (limited to 'comport')
-rw-r--r-- | comport/comport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/comport/comport.c b/comport/comport.c index a51c3ab..5c54320 100644 --- a/comport/comport.c +++ b/comport/comport.c @@ -787,8 +787,9 @@ static float set_parity(t_comport *x,int n) /* activate second stop bit with 1, 0(default)*/ -static float set_stopflag(t_comport *x, int nr) +static float set_stopflag(t_comport *x, t_float f_nr) { + int nr = (int)f_nr; struct termios *tio = &(x->com_termio); if(nr == 1) |