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/libfs/src/dosfs | |
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/libfs/src/dosfs')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos.h | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_dir.c | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_file.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h index b4ea6abe40..2fec769446 100644 --- a/cpukit/libfs/src/dosfs/msdos.h +++ b/cpukit/libfs/src/dosfs/msdos.h @@ -249,13 +249,13 @@ int msdos_file_close(rtems_libio_t *iop /* IN */); ssize_t msdos_file_read( rtems_libio_t *iop, /* IN */ void *buffer, /* IN */ - uint32_t count /* IN */ + size_t count /* IN */ ); ssize_t msdos_file_write( rtems_libio_t *iop, /* IN */ const void *buffer, /* IN */ - uint32_t count /* IN */ + size_t count /* IN */ ); int msdos_file_lseek( @@ -305,7 +305,7 @@ int msdos_dir_close(rtems_libio_t *iop /* IN */); ssize_t msdos_dir_read( rtems_libio_t *iop, /* IN */ void *buffer, /* IN */ - uint32_t count /* IN */ + size_t count /* IN */ ); int msdos_dir_lseek( diff --git a/cpukit/libfs/src/dosfs/msdos_dir.c b/cpukit/libfs/src/dosfs/msdos_dir.c index 38699a73a7..b73f278917 100644 --- a/cpukit/libfs/src/dosfs/msdos_dir.c +++ b/cpukit/libfs/src/dosfs/msdos_dir.c @@ -196,7 +196,7 @@ msdos_format_dirent_with_dot(char *dst,const char *src) * set apropriately). */ ssize_t -msdos_dir_read(rtems_libio_t *iop, void *buffer, uint32_t count) +msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count) { int rc = RC_OK; rtems_status_code sc = RTEMS_SUCCESSFUL; diff --git a/cpukit/libfs/src/dosfs/msdos_file.c b/cpukit/libfs/src/dosfs/msdos_file.c index 14bd96b325..35641e1687 100644 --- a/cpukit/libfs/src/dosfs/msdos_file.c +++ b/cpukit/libfs/src/dosfs/msdos_file.c @@ -144,7 +144,7 @@ msdos_file_close(rtems_libio_t *iop) * appropriately) */ ssize_t -msdos_file_read(rtems_libio_t *iop, void *buffer, uint32_t count) +msdos_file_read(rtems_libio_t *iop, void *buffer, size_t count) { ssize_t ret = 0; rtems_status_code sc = RTEMS_SUCCESSFUL; @@ -177,7 +177,7 @@ msdos_file_read(rtems_libio_t *iop, void *buffer, uint32_t count) * and errno set appropriately */ ssize_t -msdos_file_write(rtems_libio_t *iop,const void *buffer, uint32_t count) +msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count) { ssize_t ret = 0; rtems_status_code sc = RTEMS_SUCCESSFUL; |