summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-11 07:57:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-11 07:57:46 +0000
commit764d531b3b30727c216222bbb71bf28cbe4f8652 (patch)
treeb6346c1f830258a97cb125c6bd3d26dbfd981a73 /cpukit/libcsupport
parent2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-764d531b3b30727c216222bbb71bf28cbe4f8652.tar.bz2
2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c, libcsupport/include/rtems/termiostypes.h (rtems_termios_puts): Use size_t for buffer size.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h2
-rw-r--r--cpukit/libcsupport/src/termios.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h
index 08c49c86bc..68d5443fa6 100644
--- a/cpukit/libcsupport/include/rtems/termiostypes.h
+++ b/cpukit/libcsupport/include/rtems/termiostypes.h
@@ -164,7 +164,7 @@ void rtems_termios_rxirq_occured(struct rtems_termios_tty *tty);
*/
void rtems_termios_puts (
const void *buf,
- int len,
+ size_t len,
struct rtems_termios_tty *tty
);
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
index 89f155b6cc..094bcfc462 100644
--- a/cpukit/libcsupport/src/termios.c
+++ b/cpukit/libcsupport/src/termios.c
@@ -628,7 +628,7 @@ rtems_termios_ioctl (void *arg)
*/
void
rtems_termios_puts (
- const void *_buf, int len, struct rtems_termios_tty *tty)
+ const void *_buf, size_t len, struct rtems_termios_tty *tty)
{
const unsigned char *buf = _buf;
unsigned int newHead;