summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwprintf.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-06-08 12:03:48 +0000
committerstefanf <stefanf@FreeBSD.org>2004-06-08 12:03:48 +0000
commit76718df1361bca784930346191f487743e6558a2 (patch)
treee89417ef987059130ecb61cb31a15792d4dd019b /lib/libc/stdio/vfwprintf.c
parent89b27dc636039a2d99d5d97c3ded9e0172355ebc (diff)
downloadFreeBSD-src-76718df1361bca784930346191f487743e6558a2.zip
FreeBSD-src-76718df1361bca784930346191f487743e6558a2.tar.gz
The third operand of the conditional operator should have type void too.
Approved by: das (mentor)
Diffstat (limited to 'lib/libc/stdio/vfwprintf.c')
-rw-r--r--lib/libc/stdio/vfwprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index c9833aa..35d2804 100644
--- a/lib/libc/stdio/vfwprintf.c
+++ b/lib/libc/stdio/vfwprintf.c
@@ -1268,7 +1268,7 @@ __find_arguments (const wchar_t *fmt0, va_list ap, union arg **argtable)
*/
#define ADDTYPE(type) \
((nextarg >= tablesize) ? \
- __grow_type_table(nextarg, &typetable, &tablesize) : 0, \
+ __grow_type_table(nextarg, &typetable, &tablesize) : (void)0, \
(nextarg > tablemax) ? tablemax = nextarg : 0, \
typetable[nextarg++] = type)
OpenPOWER on IntegriCloud