mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
Merge remote-tracking branch 'derickr/precision-equivalence' into PHP-8.2
This commit is contained in:
@@ -580,8 +580,8 @@ static size_t format_converter(buffy * odp, const char *fmt, va_list ap) /* {{{
|
||||
} else if (*fmt == '*') {
|
||||
precision = va_arg(ap, int);
|
||||
fmt++;
|
||||
if (precision < 0)
|
||||
precision = 0;
|
||||
if (precision < -1)
|
||||
precision = -1;
|
||||
} else
|
||||
precision = 0;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user