mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: fix compilation with c++
This commit is contained in:
		
							parent
							
								
									b324c02570
								
							
						
					
					
						commit
						0db8d39dd8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -40,7 +40,7 @@ struct spa_pod_dynamic_builder {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int spa_pod_dynamic_builder_overflow(void *data, uint32_t size)
 | 
					static int spa_pod_dynamic_builder_overflow(void *data, uint32_t size)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct spa_pod_dynamic_builder *d = data;
 | 
						struct spa_pod_dynamic_builder *d = (struct spa_pod_dynamic_builder*)data;
 | 
				
			||||||
	int32_t old_size = d->b.size;
 | 
						int32_t old_size = d->b.size;
 | 
				
			||||||
	int32_t new_size = SPA_ROUND_UP_N(size, d->extend);
 | 
						int32_t new_size = SPA_ROUND_UP_N(size, d->extend);
 | 
				
			||||||
	void *old_data = d->b.data;
 | 
						void *old_data = d->b.data;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue