Skip to content

Commit

Permalink
fix unsafe_read signature
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 24, 2024
1 parent cdbe591 commit 4aada31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sockets/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function maybe_increment_read_window(sock::Client, nread, from)
end
end

function Base.unsafe_read(sock::Client, ptr::Ptr{UInt8}, n::Integer)
function Base.unsafe_read(sock::Client, ptr::Ptr{UInt8}, n::UInt64)
unsafe_read(sock.readbuf, ptr, n)
maybe_increment_read_window(sock, n, "Base.unsafe_read")
return
Expand Down

0 comments on commit 4aada31

Please sign in to comment.