summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 34e6bf0..df4bac2 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1557,14 +1557,16 @@ done:
case TP_INTMAXT:
(*argtable) [n].pintmaxarg = va_arg (ap, intmax_t *);
break;
-#ifndef NO_FLOATING_POINT
case T_DOUBLE:
+#ifndef NO_FLOATING_POINT
(*argtable) [n].doublearg = va_arg (ap, double);
+#endif
break;
case T_LONG_DOUBLE:
+#ifndef NO_FLOATING_POINT
(*argtable) [n].longdoublearg = va_arg (ap, long double);
- break;
#endif
+ break;
case TP_CHAR:
(*argtable) [n].pchararg = va_arg (ap, char *);
break;
OpenPOWER on IntegriCloud