summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-06-08 12:03:48 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-06-08 12:03:48 +0000
commitcf6fc3417ac193073d4dd40af768546a95730b5b (patch)
treee89417ef987059130ecb61cb31a15792d4dd019b
parenta91a792fedacbc8d6f78b0c84516232d956e83cd (diff)
Notes
-rw-r--r--lib/libc/stdio/vfprintf.c2
-rw-r--r--lib/libc/stdio/vfwprintf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 2d720ae3b9de..e4301299d735 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)
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index c9833aa51e47..35d28048de3b 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)