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/lib | |
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/lib')
-rw-r--r-- | cpukit/libnetworking/lib/ftpfs.c | 4 | ||||
-rw-r--r-- | cpukit/libnetworking/lib/tftpDriver.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c index ea71eae395..e536c21d69 100644 --- a/cpukit/libnetworking/lib/ftpfs.c +++ b/cpukit/libnetworking/lib/ftpfs.c @@ -963,7 +963,7 @@ int rtems_ftp_open( ssize_t rtems_ftp_read( rtems_libio_t *iop, void *buffer, - uint32_t count + size_t count ) { int eno = 0; @@ -1017,7 +1017,7 @@ ssize_t rtems_ftp_read( ssize_t rtems_ftp_write( rtems_libio_t *iop, const void *buffer, - uint32_t count + size_t count ) { int eno = EIO; diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c index 0c0d21eaa9..2561fc3e49 100644 --- a/cpukit/libnetworking/lib/tftpDriver.c +++ b/cpukit/libnetworking/lib/tftpDriver.c @@ -794,7 +794,7 @@ static int rtems_tftp_open( static ssize_t rtems_tftp_read( rtems_libio_t *iop, void *buffer, - uint32_t count + size_t count ) { char *bp; @@ -935,7 +935,7 @@ static int rtems_tftp_close( static ssize_t rtems_tftp_write( rtems_libio_t *iop, const void *buffer, - uint32_t count + size_t count ) { const char *bp; |