diff options
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/termiostypes.h | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index b94f81c020..6811c89ace 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +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. + 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org> * libfs/src/devfs/devfs_mknod.c: Remove const cast. 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; |