forked from Archive/PX4-Autopilot
UAVCAN fix compile warning on signedness
This commit is contained in:
parent
fa26928e51
commit
27e4139540
|
@ -371,7 +371,7 @@ class VirtualCanDriver : public uavcan::ICanDriver,
|
|||
|
||||
void waitFor(uavcan::MonotonicDuration duration)
|
||||
{
|
||||
static const unsigned NsPerSec = 1000000000;
|
||||
static const int NsPerSec = 1000000000;
|
||||
|
||||
if (duration.isPositive()) {
|
||||
auto abstime = ::timespec();
|
||||
|
|
Loading…
Reference in New Issue