diff --git a/Userland/Services/InspectorServer/InspectableProcess.cpp b/Userland/Services/InspectorServer/InspectableProcess.cpp index 578945c314..9e2c98f5f1 100644 --- a/Userland/Services/InspectorServer/InspectableProcess.cpp +++ b/Userland/Services/InspectorServer/InspectableProcess.cpp @@ -73,7 +73,7 @@ String InspectableProcess::wait_for_response() void InspectableProcess::send_request(JsonObject const& request) { auto serialized = request.to_string(); - auto length = serialized.length(); + u32 length = serialized.length(); m_socket->write((u8 const*)&length, sizeof(length)); m_socket->write(serialized); }