summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-12-26 17:17:52 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-12-26 17:17:52 +0000
commitd101e113cf0f984d2070fa52bd2ac0f737b4ffe9 (patch)
tree0d40407928a26580e42b2ad1a95b7a15b219f2ba /Zend
parent7fe60ada000c1e2deecdbb05b20ea5d45e63b2ed (diff)
downloadphp-git-d101e113cf0f984d2070fa52bd2ac0f737b4ffe9.tar.gz
Fixed compiler warning
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_strtod.c2
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') {