summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-10 03:47:56 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-10 03:47:56 +0000
commit87f4e9ba56bfc96ffd035870645daca49a62dcff (patch)
treef6dce04bce2602ce04155ad0862a2712d79ae428 /cpukit/libcsupport
parent2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-87f4e9ba56bfc96ffd035870645daca49a62dcff.tar.bz2
2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Remove meaningless typecast.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/termios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
index b687d27e9c..89f155b6cc 100644
--- a/cpukit/libcsupport/src/termios.c
+++ b/cpukit/libcsupport/src/termios.c
@@ -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;