Skip to content

Commit 8993d5f

Browse files
committed
change type from int8_t to long
1 parent 26f8f86 commit 8993d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcanard/canard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ CANARD_PRIVATE struct CanardTxQueueItem* txAllocateQueueItem(struct CanardTxQueu
340340
/// Frames with identical CAN ID that are added later always compare greater than their counterparts with same CAN ID.
341341
/// This ensures that CAN frames with the same CAN ID are transmitted in the FIFO order.
342342
/// Frames that should be transmitted earlier compare smaller (i.e., put on the left side of the tree).
343-
CANARD_PRIVATE int8_t txAVLPriorityPredicate( //
343+
CANARD_PRIVATE long txAVLPriorityPredicate( //
344344
void* const user_reference, // NOSONAR Cavl API requires pointer to non-const.
345345
const struct CanardTreeNode* const node)
346346
{

0 commit comments

Comments
 (0)