Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Dec 4, 2024
1 parent ee67adc commit 78b62fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_public_tx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ TEST_CASE("TxFlushExpired")
REQUIRE(1 == que.getInstance().stats.dropped_frames);

// a) Peek and check the payload of the 1st frame
CanardTxQueueItem* ti = NULL;
CanardTxQueueItem* ti = nullptr;
{
ti = que.peek();
REQUIRE(nullptr != ti);
Expand Down Expand Up @@ -919,7 +919,7 @@ TEST_CASE("TxFlushExpired")
{
meta.transfer_id = 23;
REQUIRE(-CANARD_ERROR_OUT_OF_MEMORY ==
que.push(&ins.getInstance(), now + deadline, meta, {8 * 2, payload.data()}, now));
que.push(&ins.getInstance(), now + deadline, meta, {8ULL * 2ULL, payload.data()}, now));
REQUIRE(0 == que.getSize());
REQUIRE(0 == tx_alloc.getNumAllocatedFragments());
REQUIRE(0 == tx_alloc.getTotalAllocatedAmount());
Expand Down

0 comments on commit 78b62fa

Please sign in to comment.