X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_options.c;h=65a27afd27abcd57d291de8ecb69ead8aeed2d6f;hp=d4be512a7e1e9584cdace1a12429054fee90e471;hb=82923890d9ce44a0642ac2f5ea0cb343aaf50fe3;hpb=e7f3c1766222862532aadbfbafdb6017fef2747c diff --git a/src/php_http_options.c b/src/php_http_options.c index d4be512..65a27af 100644 --- a/src/php_http_options.c +++ b/src/php_http_options.c @@ -16,7 +16,7 @@ static void php_http_options_hash_dtor(zval *pData) { php_http_option_t *opt = Z_PTR_P(pData); - zval_ptr_dtor(&opt->defval); + zval_internal_dtor(&opt->defval); zend_hash_destroy(&opt->suboptions.options); zend_string_release(opt->name); pefree(opt, opt->persistent); @@ -74,7 +74,7 @@ void php_http_options_free(php_http_options_t **registry) } } -php_http_option_t *php_http_option_register(php_http_options_t *registry, const char *name_str, size_t name_len, ulong option, zend_uchar type) +php_http_option_t *php_http_option_register(php_http_options_t *registry, const char *name_str, size_t name_len, unsigned long option, zend_uchar type) { php_http_option_t opt;