diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-09-21 13:23:12 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-09-21 13:23:12 +0000 |
commit | 34873c90ba47d3c2026938173f728675e9a66040 (patch) | |
tree | 38b73523e221265c898eac8b10327d1ad977e70f | |
parent | 1b05e2f7a491cb5f19193d675599a03e440c4c69 (diff) |
fixed mrpeach's changes so that now it compiles again on non-win32
svn path=/trunk/externals/iem/comport/; revision=10305
-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) |