From d101e113cf0f984d2070fa52bd2ac0f737b4ffe9 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 26 Dec 2006 17:17:52 +0000 Subject: [PATCH] Fixed compiler warning --- Zend/zend_strtod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index d388697f5b8..3a80d9334cf 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') {