mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Fix signed/unsigned implicit cast
This commit is contained in:
		
							parent
							
								
									a0f43b5f3f
								
							
						
					
					
						commit
						1259cba811
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -890,7 +890,7 @@ Level2ProductView::GetBinLevel(const common::Coordinate& coordinate) const | |||
|    const std::int32_t gate = s12 / dataMomentInterval - startGate; | ||||
| 
 | ||||
|    if (gate < 0 || gate > numberOfDataMomentGates || | ||||
|        gate > common::MAX_DATA_MOMENT_GATES) | ||||
|        gate > static_cast<std::int32_t>(common::MAX_DATA_MOMENT_GATES)) | ||||
|    { | ||||
|       // Coordinate is beyond radar range
 | ||||
|       return std::nullopt; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat