diff options
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 12c55dbfc0..31b4720fe2 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org> + * libcsupport/src/termios.c: Remove unnecessary type casts. + +2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org> + * sapi/include/rtems/io.h : size_t device_name_length. 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org> diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 045f4003ab..14031f396d 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -463,7 +463,7 @@ termios_set_flowctrl(struct rtems_termios_tty *tty) if (tty->rawOutBufState != rob_idle) { /* if chars available, call write function... */ (*tty->device.write)(tty->minor, - (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); + &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); } /* reenable interrupts */ rtems_interrupt_enable(level); @@ -1191,7 +1191,7 @@ rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) if (tty->rawOutBufState != rob_idle) { /* if chars available, call write function... */ (*tty->device.write)(tty->minor, - (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1); + &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1); } /* reenable interrupts */ rtems_interrupt_enable(level); @@ -1367,7 +1367,7 @@ rtems_termios_refill_transmitter (struct rtems_termios_tty *tty) } tty->rawOutBufState = rob_busy; /*apm*/ (*tty->device.write)(tty->minor, - (char *)&tty->rawOutBuf.theBuf[newTail], + &tty->rawOutBuf.theBuf[newTail], nToSend); } tty->rawOutBuf.Tail = newTail; /*apm*/ |