Skip to content

Commit

Permalink
Fix alignment error
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko committed Aug 10, 2023
1 parent b7d2d3e commit e398991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libudpard/udpard.c
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ int_fast8_t udpardRxRPCDispatcherCancel(struct UdpardRxRPCDispatcher* const self
UdpardPortID service_id_mutable = service_id;
struct UdpardTreeNode** const root = is_request ? &self->request_ports : &self->response_ports;
struct UdpardRxRPC* const item =
(struct UdpardRxRPC*) cavlSearch(root, &service_id_mutable, &rxRPCSearchByServiceID, NULL);
(struct UdpardRxRPC*) (void*) cavlSearch(root, &service_id_mutable, &rxRPCSearchByServiceID, NULL);
if (item != NULL)
{
cavlRemove(root, &item->base);
Expand Down

0 comments on commit e398991

Please sign in to comment.