Skip to content

Commit 060387e

Browse files
committed
fix type
1 parent cc0efa6 commit 060387e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ PHP_FUNCTION(openssl_x509_parse)
11521152
BIO_free(bio_out);
11531153
}
11541154
add_assoc_zval(return_value, "extensions", &subitem);
1155-
ulong altcount = zend_hash_num_elements(Z_ARRVAL_P(&altname));
1155+
zend_long altcount = zend_hash_num_elements(Z_ARRVAL_P(&altname));
11561156
if (altcount > 0) {
11571157
add_assoc_zval(return_value, "subjectAlternativeName", &altname);
11581158
}

0 commit comments

Comments
 (0)