diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-08 07:18:27 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-08 07:18:27 +0000 |
commit | 7192476f7a9640986f9338f6ece9f0eec6ee8766 (patch) | |
tree | 98117cdc74f6b143e01681147779090bb0e4cf75 /cpukit/libnetworking/rtems | |
parent | 2006-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-7192476f7a9640986f9338f6ece9f0eec6ee8766.tar.bz2 |
Use size_t instead of uint32_t for read/write count-args.
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c index 30de3ca3da..d43d24dc7d 100644 --- a/cpukit/libnetworking/rtems/rtems_syscall.c +++ b/cpukit/libnetworking/rtems/rtems_syscall.c @@ -689,13 +689,13 @@ rtems_bsdnet_close (rtems_libio_t *iop) } static ssize_t -rtems_bsdnet_read (rtems_libio_t *iop, void *buffer, uint32_t count) +rtems_bsdnet_read (rtems_libio_t *iop, void *buffer, size_t count) { return recv (iop->data0, buffer, count, 0); } static ssize_t -rtems_bsdnet_write (rtems_libio_t *iop, const void *buffer, uint32_t count) +rtems_bsdnet_write (rtems_libio_t *iop, const void *buffer, size_t count) { return send (iop->data0, buffer, count, 0); } |