diff options
Diffstat (limited to 'Kernel/Net/LocalSocket.cpp')
-rw-r--r-- | Kernel/Net/LocalSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/LocalSocket.cpp b/Kernel/Net/LocalSocket.cpp index 26affa2ee4..605dc5a660 100644 --- a/Kernel/Net/LocalSocket.cpp +++ b/Kernel/Net/LocalSocket.cpp @@ -274,7 +274,7 @@ ssize_t LocalSocket::recvfrom(FileDescription& description, void* buffer, size_t StringView LocalSocket::socket_path() const { - int len = strnlen(m_address.sun_path, sizeof(m_address.sun_path)); + size_t len = strnlen(m_address.sun_path, sizeof(m_address.sun_path)); return { m_address.sun_path, len }; } |