mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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