Skip to content

Commit

Permalink
Merge pull request #5 from bluesmoon/fix/4
Browse files Browse the repository at this point in the history
Use Csize_t instead of Culong in definition of curl_debug_cb
  • Loading branch information
bluesmoon authored Oct 10, 2023
2 parents f728618 + 3b3d6fc commit 6e8c60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CurlHTTP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ end
[Internal] curl debug callback to log informational text, header data, and SSL data transferred over the network.
This will only run if curl is configured in verbose mode.
"""
function curl_debug_cb(curl::Ptr{Cvoid}, type::Cint, curlbuf::Ptr{Cvoid}, sz::Culong, p_ctxt::Ptr{Cvoid})::Csize_t
function curl_debug_cb(curl::Ptr{Cvoid}, type::Cint, curlbuf::Ptr{Cvoid}, sz::Csize_t, p_ctxt::Ptr{Cvoid})::Csize_t
if type VERBOSE_INFO
return Culong(0)
end
Expand Down

0 comments on commit 6e8c60f

Please sign in to comment.