mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 08:19:05 +08:00
Strict warnings in the unit tests. This commit needs to be carefully reviewed.
This commit is contained in:
parent
d9d6e80aea
commit
b09bfab117
@ -42,7 +42,7 @@ TEST(Publisher, Basic)
|
||||
msg.payload = "Msg";
|
||||
|
||||
const uint8_t expected_transfer_payload[] = {0x42, 0x72, 0x08, 0xa5, 'M', 's', 'g'};
|
||||
const uint64_t tx_timeout_usec = publisher.getDefaultTxTimeout().toUSec();
|
||||
const uint64_t tx_timeout_usec = uint64_t(publisher.getDefaultTxTimeout().toUSec());
|
||||
|
||||
/*
|
||||
* Broadcast
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user