Skip to content

Commit

Permalink
[C] Move cast outside fenced code.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Sep 25, 2024
1 parent d896eed commit 8bb38fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aeron-driver/src/main/c/aeron_publication_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ int aeron_publication_image_send_pending_loss(aeron_publication_image_t *image)
{
const int32_t term_id = image->loss_term_id;
const int32_t term_offset = image->loss_term_offset;
const int32_t length = (int32_t)image->loss_length;
const size_t length = image->loss_length;

aeron_acquire();

Expand All @@ -859,7 +859,7 @@ int aeron_publication_image_send_pending_loss(aeron_publication_image_t *image)
image->session_id,
term_id,
term_offset,
length);
(int32_t)length);

if (send_nak_result < 0)
{
Expand Down

0 comments on commit 8bb38fd

Please sign in to comment.