]> granicus.if.org Git - php/commitdiff
Fixing win32 build.
authorFrank M. Kromann <fmk@php.net>
Tue, 7 May 2002 17:51:03 +0000 (17:51 +0000)
committerFrank M. Kromann <fmk@php.net>
Tue, 7 May 2002 17:51:03 +0000 (17:51 +0000)
main/spprintf.c

index 91b3eca9e3554ecd37f82ca37d5d3f6ce7e4c0e1..1bda78d1c6f362e6e515a0f6370f5472fe07810e 100644 (file)
@@ -486,7 +486,8 @@ static int xbuf_format_converter(register xbuffy * xbuf, const char *fmt, va_lis
                                        /*
                                         * * We use &num_buf[ 1 ], so that we have room for the sign
                                         */
-                                       s = ap_php_gcvt(va_arg(ap, double), precision, &num_buf[1]);
+                                       s = ap_php_gcvt(va_arg(ap, double), precision, &num_buf[1],
+                                                       alternate_form);
                                        if (*s == '-')
                                                prefix_char = *s++;
                                        else if (print_sign)