]> granicus.if.org Git - php/commitdiff
- silent warning, NULL is not 0
authorPierre Joye <pajoye@php.net>
Sat, 25 Apr 2009 14:59:21 +0000 (14:59 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 25 Apr 2009 14:59:21 +0000 (14:59 +0000)
ext/imap/php_imap.c

index dc18c30d241211b520fbd8f366ddb02fe34216ff..31e052170fbc9b6e53e75307c69afbd839308e49 100644 (file)
@@ -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) {