Strict warnings in the unit tests. This commit needs to be carefully reviewed.

This commit is contained in:
Pavel Kirienko
2014-08-28 04:54:59 +04:00
parent d9d6e80aea
commit b09bfab117
27 changed files with 205 additions and 178 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ struct InterlinkedTestNodes
int spinBoth(uavcan::MonotonicDuration duration)
{
assert(!duration.isNegative());
unsigned nspins2 = duration.toMSec() / 2;
unsigned nspins2 = unsigned(duration.toMSec() / 2);
nspins2 = nspins2 ? nspins2 : 1;
while (nspins2 --> 0)
{