mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 16: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
				
			
		|  | @ -101,11 +101,11 @@ bool WindBarbDataPacket::Parse(std::istream& is) | |||
| 
 | ||||
|    // The number of vectors is equal to the size divided by the number of bytes
 | ||||
|    // in a vector
 | ||||
|    size_t vectorCount = p->lengthOfBlock_ / 10; | ||||
|    std::size_t vectorCount = p->lengthOfBlock_ / 10; | ||||
| 
 | ||||
|    p->windBarb_.resize(vectorCount); | ||||
| 
 | ||||
|    for (int v = 0; v < vectorCount && !is.eof(); v++) | ||||
|    for (std::size_t v = 0; v < vectorCount && !is.eof(); v++) | ||||
|    { | ||||
|       WindBarb& windBarb = p->windBarb_[v]; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat