From 34873c90ba47d3c2026938173f728675e9a66040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sun, 21 Sep 2008 13:23:12 +0000 Subject: fixed mrpeach's changes so that now it compiles again on non-win32 svn path=/trunk/externals/iem/comport/; revision=10305 --- comport/comport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'comport/comport.c') 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) -- cgit v1.2.1