mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	utils: fix reallocarray macro
This commit is contained in:
		
							parent
							
								
									7e4f99512f
								
							
						
					
					
						commit
						3e7f975f83
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -89,7 +89,7 @@ pw_strip(char *str, const char *whitespace);
 | 
			
		|||
ssize_t pw_getrandom(void *buf, size_t buflen, unsigned int flags);
 | 
			
		||||
 | 
			
		||||
#if !defined(reallocarray)
 | 
			
		||||
# define reallocarray(ptr, nmemb, size)		realloc(ptr, nmemb * size)
 | 
			
		||||
# define reallocarray(ptr,nmemb,size)		realloc((ptr), (nmemb) * (size))
 | 
			
		||||
#endif
 | 
			
		||||
/**
 | 
			
		||||
 * \}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue