Skip to content

Commit

Permalink
Update src/nanoarrow/ipc/decoder_test.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Kietzman <[email protected]>
  • Loading branch information
paleolimbot and bkietz authored Sep 17, 2024
1 parent 675db4b commit d94ed55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nanoarrow/ipc/decoder_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ TEST_P(ArrowSchemaParameterizedTestFixture, NanoarrowIpcNanoarrowFooterRoundtrip
NANOARROW_OK);

#ifdef __BIG_ENDIAN__
uint32_t footer_size_le = bswap32(static_cast<int32_t>(buffer->size_bytes));
uint32_t footer_size_le = bswap32(static_cast<uint32_t>(buffer->size_bytes));
EXPECT_EQ(ArrowBufferAppendInt32(buffer.get(), footer_size_le), NANOARROW_OK);
#else
EXPECT_EQ(ArrowBufferAppendInt32(buffer.get(), buffer->size_bytes), NANOARROW_OK);
Expand Down

0 comments on commit d94ed55

Please sign in to comment.