From 2e88653242e219213f44d75e925c96904491d997 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 25 Apr 2009 14:59:21 +0000 Subject: [PATCH] - silent warning, NULL is not 0 --- ext/imap/php_imap.c | 4 ++-- 1 file 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) { -- 2.40.0