2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>

* libcsupport/src/termios.c: Remove meaningless typecast.
This commit is contained in:
Ralf Corsepius
2011-10-10 03:47:56 +00:00
parent a32a86e758
commit 87f4e9ba56
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Remove meaningless typecast.
2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar):

View File

@@ -669,8 +669,8 @@ rtems_termios_puts (
if (tty->rawOutBufState == rob_idle) {
/* check, whether XOFF has been received */
if (!(tty->flow_ctrl & FL_ORCVXOF)) {
(*tty->device.write)(tty->minor,
(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);
(*tty->device.write)(
tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);
} else {
/* remember that output has been stopped due to flow ctrl*/
tty->flow_ctrl |= FL_OSTOP;