mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	compare: fix sign for compare of id
This commit is contained in:
		
							parent
							
								
									dbbcd3fdc4
								
							
						
					
					
						commit
						3cfd1e6cf1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -39,7 +39,7 @@ static inline int spa_pod_compare_value(uint32_t type, const void *r1, const voi
 | 
			
		|||
		return 0;
 | 
			
		||||
	case SPA_TYPE_Bool:
 | 
			
		||||
	case SPA_TYPE_Id:
 | 
			
		||||
		return *(int32_t *) r1 == *(uint32_t *) r2 ? 0 : 1;
 | 
			
		||||
		return *(uint32_t *) r1 == *(uint32_t *) r2 ? 0 : 1;
 | 
			
		||||
	case SPA_TYPE_Int:
 | 
			
		||||
		return *(int32_t *) r1 - *(int32_t *) r2;
 | 
			
		||||
	case SPA_TYPE_Long:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue