Kill warning

This commit is contained in:
Stanislav Malyshev 2000-12-13 09:44:06 +00:00
parent 6072e2fabb
commit 62f626b157

View file

@ -301,7 +301,7 @@ PHP_FUNCTION(curl_init)
}
memset(curl_handle, 0, sizeof(php_curl));
zend_llist_init(&curl_handle->to_free, sizeof(char *), curl_free_string, 0);
zend_llist_init(&curl_handle->to_free, sizeof(char *), (void(*)(void *))curl_free_string, 0);
curl_handle->cp = curl_easy_init();
if (!curl_handle->cp) {