mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
				synced 2025-11-04 06:03:17 +00:00 
			
		
		
		
	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:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user