From 76718df1361bca784930346191f487743e6558a2 Mon Sep 17 00:00:00 2001 From: stefanf Date: Tue, 8 Jun 2004 12:03:48 +0000 Subject: The third operand of the conditional operator should have type void too. Approved by: das (mentor) --- lib/libc/stdio/vfprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdio/vfprintf.c') diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c index 2d720ae..e430129 100644 --- a/lib/libc/stdio/vfprintf.c +++ b/lib/libc/stdio/vfprintf.c @@ -1273,7 +1273,7 @@ __find_arguments (const char *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) -- cgit v1.1