mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:50:06 +00:00 
			
		
		
		
	Fix integer comparison signedness
This commit is contained in:
		
							parent
							
								
									44f91a3a86
								
							
						
					
					
						commit
						40149ae32c
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -310,10 +310,12 @@ void Level3RasterView::ComputeSweep() | |||
|                                    rasterData->number_of_rows() - 1 : | ||||
|                                    rasterData->number_of_rows(); | ||||
| 
 | ||||
|    for (size_t row = 0; row < rowCount; ++row) | ||||
|    for (std::size_t row = 0; row < rowCount; ++row) | ||||
|    { | ||||
|       const std::size_t nextRow = | ||||
|          (row == rasterData->number_of_rows() - 1) ? 0 : row + 1; | ||||
|          (row == static_cast<std::size_t>(rasterData->number_of_rows() - 1)) ? | ||||
|             0 : | ||||
|             row + 1; | ||||
| 
 | ||||
|       const auto& dataMomentsArray8 = | ||||
|          rasterData->level(static_cast<uint16_t>(row)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat