diff options
Diffstat (limited to 'Zend/zend_strtod.c')
-rw-r--r-- | Zend/zend_strtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index d388697f5b..3a80d9334c 100644 --- a/Zend/zend_strtod.c +++ b/Zend/zend_strtod.c @@ -2568,7 +2568,7 @@ ZEND_API double zend_hex_strtod(const char *str, char **endptr) s += 2; } - while (c = *s++) { + while ((c = *s++)) { if (c >= '0' && c <= '9') { c -= '0'; } else if (c >= 'A' && c <= 'F') { |