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.
This commit is contained in:
Ralf Corsepius
2011-10-11 07:57:46 +00:00
parent d1dbd228d3
commit 764d531b3b
3 changed files with 8 additions and 2 deletions

View File

@@ -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.

View File

@@ -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
);

View File

@@ -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;