From: Ilia Alshanetsky Date: Tue, 26 Dec 2006 17:17:52 +0000 (+0000) Subject: Fixed compiler warning X-Git-Tag: php-5.2.1RC2~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d101e113cf0f984d2070fa52bd2ac0f737b4ffe9;p=php Fixed compiler warning --- 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') {