diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-09 12:56:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-09 12:56:13 +0000 |
commit | 8dbb19ab83cb86af7e5b832f087b9bd1eebd9906 (patch) | |
tree | c1f65f8ead22c248289c997c071532a3045f1a7c /cpukit/libfs | |
parent | 2003-08-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-8dbb19ab83cb86af7e5b832f087b9bd1eebd9906.tar.bz2 |
2003-09-09 Ralf Corsepius <ralf_corsepius@rtems.com>
PR 487/filesystem
* src/dosfs/fat_file.c: Correct typing per gcc 3.3 warnings.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/fat_file.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog index 6e74e7bf19..ac8264440e 100644 --- a/cpukit/libfs/ChangeLog +++ b/cpukit/libfs/ChangeLog @@ -1,3 +1,8 @@ +2003-09-09 Ralf Corsepius <ralf_corsepius@rtems.com> + + PR 487/filesystem + * src/dosfs/fat_file.c: Correct typing per gcc 3.3 warnings. + 2003-09-04 Joel Sherrill <joel@OARcorp.com> * src/dosfs/dosfs.h, src/dosfs/fat.h, src/dosfs/fat_fat_operations.h, diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c index bc4441da06..e7fb2be35e 100644 --- a/cpukit/libfs/src/dosfs/fat_file.c +++ b/cpukit/libfs/src/dosfs/fat_file.c @@ -44,7 +44,7 @@ _hash_search( Chain_Control *hash, unsigned32 key1, unsigned32 key2, - void **ret + fat_file_fd_t **ret ); static int @@ -98,7 +98,7 @@ fat_file_open( key = fat_construct_key(mt_entry, cln, ofs); /* access "valid" hash table */ - rc = _hash_search(mt_entry, fs_info->vhash, key, 0, (void **)&lfat_fd); + rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd); if ( rc == RC_OK ) { /* return pointer to fat_file_descriptor allocated before */ @@ -108,7 +108,7 @@ fat_file_open( } /* access "removed-but-still-open" hash table */ - rc = _hash_search(mt_entry, fs_info->rhash, key, key, (void **)&lfat_fd); + rc = _hash_search(mt_entry, fs_info->rhash, key, key, &lfat_fd); lfat_fd = (*fat_fd) = (fat_file_fd_t*)malloc(sizeof(fat_file_fd_t)); if ( lfat_fd == NULL ) @@ -913,7 +913,7 @@ _hash_search( Chain_Control *hash, unsigned32 key1, unsigned32 key2, - void **ret + fat_file_fd_t **ret ) { unsigned32 mod = (key1) % FAT_HASH_MODULE; |