summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-28 23:14:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-28 23:14:08 +0000
commit194b5c708db579eca7080290d8a3a73d4d46d74c (patch)
tree33f5463d24a08e270e8cd5ba93cb00b6f7392b90 /cpukit
parenta463a2f86f31b3dd9f2c8e81a15507215467e503 (diff)
downloadrtems-194b5c708db579eca7080290d8a3a73d4d46d74c.tar.bz2
2001-09-28 Joel Sherrill <joel@OARcorp.com>
* src/mqueueopen.c, src/semopen.c: Clarify type on va_arg.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/posix/ChangeLog4
-rw-r--r--cpukit/posix/src/mqueueopen.c2
-rw-r--r--cpukit/posix/src/semopen.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index f291e38a1f..d8c65003ed 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-28 Joel Sherrill <joel@OARcorp.com>
+
+ * src/mqueueopen.c, src/semopen.c: Clarify type on va_arg.
+
2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.
diff --git a/cpukit/posix/src/mqueueopen.c b/cpukit/posix/src/mqueueopen.c
index c50a170fed..dc0bf9b592 100644
--- a/cpukit/posix/src/mqueueopen.c
+++ b/cpukit/posix/src/mqueueopen.c
@@ -57,7 +57,7 @@ mqd_t mq_open(
if ( oflag & O_CREAT ) {
va_start(arg, oflag);
- mode = (mode_t) va_arg( arg, mode_t );
+ mode = (mode_t) va_arg( arg, unsigned int );
attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );
va_end(arg);
}
diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c
index 1e42084832..ca2f79fe67 100644
--- a/cpukit/posix/src/semopen.c
+++ b/cpukit/posix/src/semopen.c
@@ -53,7 +53,7 @@ sem_t *sem_open(
if ( oflag & O_CREAT ) {
va_start(arg, oflag);
- mode = va_arg( arg, mode_t );
+ mode = (mode_t) va_arg( arg, unsigned int );
value = va_arg( arg, unsigned int );
va_end(arg);
}