mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 05:47:34 +00:00
Kernel: Make IPv4Socket::protocol_send() use a size_t for buffer size
This commit is contained in:
parent
9ce4ef2dd3
commit
03837e37a3
5 changed files with 7 additions and 7 deletions
|
@ -88,7 +88,7 @@ int UDPSocket::protocol_receive(const KBuffer& packet_buffer, void* buffer, size
|
|||
return udp_packet.length() - sizeof(UDPPacket);
|
||||
}
|
||||
|
||||
int UDPSocket::protocol_send(const void* data, int data_length)
|
||||
int UDPSocket::protocol_send(const void* data, size_t data_length)
|
||||
{
|
||||
auto routing_decision = route_to(peer_address(), local_address());
|
||||
if (routing_decision.is_zero())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue