mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:10:06 +00:00 
			
		
		
		
	General GCC compilation fixes
This commit is contained in:
		
							parent
							
								
									c7aba95233
								
							
						
					
					
						commit
						023688b746
					
				
					 19 changed files with 57 additions and 53 deletions
				
			
		|  | @ -81,7 +81,7 @@ int TreeItem::column_count() const | |||
| 
 | ||||
| QVariant TreeItem::data(int column) const | ||||
| { | ||||
|    if (0 <= column && column < p->itemData_.size()) | ||||
|    if (0 <= column && column < static_cast<int>(p->itemData_.size())) | ||||
|    { | ||||
|       return p->itemData_[column]; | ||||
|    } | ||||
|  | @ -152,7 +152,7 @@ bool TreeItem::InsertChildren(int position, int count, int columns) | |||
| 
 | ||||
| bool TreeItem::SetData(int column, const QVariant& value) | ||||
| { | ||||
|    if (column < 0 || column >= p->itemData_.size()) | ||||
|    if (column < 0 || column >= static_cast<int>(p->itemData_.size())) | ||||
|    { | ||||
|       return false; | ||||
|    } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat