summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-26 17:19:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-26 17:19:21 +0000
commit0f07ee7434863025d41b93d860858aac0f063348 (patch)
treea76dbd216d96edb1c878e44485e9be62e09b3e4d
parent2003-09-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-0f07ee7434863025d41b93d860858aac0f063348.tar.bz2
2003-09-26 Joel Sherrill <joel@OARcorp.com>
PR 492/filesystem * src/dosfs/fat_file.c: Fix inconsistent types in va_args call.
-rw-r--r--cpukit/libfs/ChangeLog5
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog
index ac8264440e..d43b4da039 100644
--- a/cpukit/libfs/ChangeLog
+++ b/cpukit/libfs/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-26 Joel Sherrill <joel@OARcorp.com>
+
+ PR 492/filesystem
+ * src/dosfs/fat_file.c: Fix inconsistent types in va_args call.
+
2003-09-09 Ralf Corsepius <ralf_corsepius@rtems.com>
PR 487/filesystem
diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c
index e7fb2be35e..ba7f08e7a9 100644
--- a/cpukit/libfs/src/dosfs/fat_file.c
+++ b/cpukit/libfs/src/dosfs/fat_file.c
@@ -682,8 +682,8 @@ fat_file_ioctl(
switch (cmd)
{
case F_CLU_NUM:
- pos = va_arg(ap, int);
- ret = va_arg(ap, int *);
+ pos = va_arg(ap, unsigned32);
+ ret = va_arg(ap, unsigned32 *);
/* sanity check */
if ( pos >= fat_fd->fat_file_size )