mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Fix build warnings for win64
Win64 has a 32-bit long. Use intptr_t to work on any data model.
This commit is contained in:
		
							parent
							
								
									c00d8a5b73
								
							
						
					
					
						commit
						f0741698fa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -147,7 +147,7 @@ struct hash_ptr_ops {
 | 
				
			||||||
		return a == b;
 | 
							return a == b;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	static inline unsigned int hash(const void *a) {
 | 
						static inline unsigned int hash(const void *a) {
 | 
				
			||||||
		return (unsigned long)a;
 | 
							return (intptr_t)a;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue