cmFileCommand: Fix signature of CURLOPT_DEBUGFUNCTION callback
Curl documents that the callback should return type `int`.
This commit is contained in:
parent
846e2a2b5b
commit
e243b379ca
@ -1610,8 +1610,8 @@ size_t cmWriteToMemoryCallback(void* ptr, size_t size, size_t nmemb,
|
||||
return realsize;
|
||||
}
|
||||
|
||||
size_t cmFileCommandCurlDebugCallback(CURL*, curl_infotype type, char* chPtr,
|
||||
size_t size, void* data)
|
||||
int cmFileCommandCurlDebugCallback(CURL*, curl_infotype type, char* chPtr,
|
||||
size_t size, void* data)
|
||||
{
|
||||
cmFileCommandVectorOfChar& vec =
|
||||
*static_cast<cmFileCommandVectorOfChar*>(data);
|
||||
|
Loading…
Reference in New Issue
Block a user