Transceiver52M: Enable all warnings and resolve

Mainly basic signed vs unsigned comparisons and intializer ordering.

Signed-off-by: Thomas Tsou <tom@tsou.cc>
This commit is contained in:
Thomas Tsou
2013-11-15 16:32:54 -05:00
parent 8c33679fa5
commit 3f32ab5afa
8 changed files with 17 additions and 17 deletions

View File

@@ -83,7 +83,7 @@ float noiseVector::avg() const
{
float val = 0.0;
for (int i = 0; i < size(); i++)
for (size_t i = 0; i < size(); i++)
val += (*this)[i];
return val / (float) size();