summaryrefslogtreecommitdiff
path: root/ext/standard/mail.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-03-27 09:20:27 +0000
committerAntony Dovgal <tony2001@php.net>2007-03-27 09:20:27 +0000
commitb9bffbe019e1dabea6a9c60a4be0bec167775c81 (patch)
tree617f7b987b730cb3816a1c692c36722ff3476c11 /ext/standard/mail.c
parentae1c5674cb85d9983148646bebec3d033cd6404d (diff)
downloadphp-git-b9bffbe019e1dabea6a9c60a4be0bec167775c81.tar.gz
fix compile warning
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r--ext/standard/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c
index db5658c26e..6c5f3ec9cf 100644
--- a/ext/standard/mail.c
+++ b/ext/standard/mail.c
@@ -58,7 +58,7 @@
#define MAIL_ASCIIZ_CHECK(str, len) \
p = str; \
e = p + len; \
- while (p = memchr(p, '\0', (e - p))) { \
+ while ((p = memchr(p, '\0', (e - p)))) { \
*p = ' '; \
} \