From bc812756c270fcb4439731fc2ffee7d170ca9c2b Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 21 Apr 2024 15:24:39 +0100 Subject: [PATCH] Fix some lint issues --- tools/e133/ManagementEndpoint.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/e133/ManagementEndpoint.cpp b/tools/e133/ManagementEndpoint.cpp index 1ed6127da..4c1ca18ed 100644 --- a/tools/e133/ManagementEndpoint.cpp +++ b/tools/e133/ManagementEndpoint.cpp @@ -350,7 +350,8 @@ RDMResponse *ManagementEndpoint::GetEndpointResponderListChange( /** * Handle PID_ENDPOINT_RESPONDERS */ -RDMResponse *ManagementEndpoint::GetEndpointResponders(const RDMRequest *request) { +RDMResponse *ManagementEndpoint::GetEndpointResponders( + const RDMRequest *request) { uint16_t endpoint_id; if (!ResponderHelper::ExtractUInt16(request, &endpoint_id)) { return NackWithReason(request, NR_FORMAT_ERROR); @@ -382,8 +383,8 @@ RDMResponse *ManagementEndpoint::GetEndpointResponders(const RDMRequest *request // many responders! unsigned int param_data_size = 2 + 4 + uids.Size() * UID::UID_SIZE; uint8_t *raw_data = new uint8_t[param_data_size]; - ResponderListParamData *param_data = reinterpret_cast( - raw_data); + ResponderListParamData *param_data = + reinterpret_cast(raw_data); // TODO(simon): fix this to track changes. param_data->endpoint = HostToNetwork(endpoint_id);