fixed mrpeach's changes so that now it compiles again on non-win32

svn path=/trunk/externals/iem/comport/; revision=10305
This commit is contained in:
IOhannes m zmölnig 2008-09-21 13:23:12 +00:00
parent 1b05e2f7a4
commit 34873c90ba

View file

@ -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)