summaryrefslogtreecommitdiff
path: root/ext/imap
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-04-25 14:59:21 +0000
committerPierre Joye <pajoye@php.net>2009-04-25 14:59:21 +0000
commit2e88653242e219213f44d75e925c96904491d997 (patch)
treea44de54b56e6354ffdfac3c3a1cec4c8d5802ab1 /ext/imap
parent7942cd2c3cb11fb431c7949c4ae5a187dfa9f9dc (diff)
downloadphp-git-2e88653242e219213f44d75e925c96904491d997.tar.gz
- silent warning, NULL is not 0
Diffstat (limited to 'ext/imap')
-rw-r--r--ext/imap/php_imap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index dc18c30d24..31e052170f 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -1204,7 +1204,7 @@ PHP_FUNCTION(imap_reopen)
zval *streamind;
char *mailbox;
int mailbox_len;
- long options = NULL, retries = NULL;
+ long options = 0, retries = 0;
pils *imap_le_struct;
MAILSTREAM *imap_stream;
long flags=NIL;
@@ -2857,7 +2857,7 @@ PHP_FUNCTION(imap_setflag_full)
zval *streamind;
char *sequence, *flag;
int sequence_len, flag_len;
- long flags = NULL;
+ long flags = 0;
pils *imap_le_struct;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss|l", &streamind, &sequence, &sequence_len, &flag, &flag_len, &flags) == FAILURE) {