UAVCAN fix compile warning on signedness

This commit is contained in:
Lorenz Meier 2015-08-24 10:13:21 +02:00
parent fa26928e51
commit 27e4139540
1 changed files with 1 additions and 1 deletions

View File

@ -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();