curl_easy_setopt(transaction->easy_handle, CURLOPT_PROGRESSDATA, transaction);
curl_easy_setopt(transaction->easy_handle, CURLOPT_VERBOSE, 1L);
- curl_easy_setopt(transaction->easy_handle, CURLOPT_DEBUGFUNCTION, (curl_debug_callback) __http_debug_received);
+ curl_easy_setopt(transaction->easy_handle, CURLOPT_DEBUGFUNCTION, __http_debug_received);
curl_easy_setopt(transaction->easy_handle, CURLOPT_ERRORBUFFER, transaction->error);
curl_easy_setopt(transaction->easy_handle, CURLOPT_PRIVATE, transaction);