mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
core: Replace assert()s with pa_assert()s
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
59334021d3
commit
101092465d
7 changed files with 11 additions and 12 deletions
|
|
@ -21,7 +21,6 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
|
|
@ -56,7 +55,7 @@ int main(int argc, char *argv[]) {
|
|||
c.index = c.length = 0;
|
||||
}
|
||||
|
||||
assert(c.index < pa_memblock_get_length(c.memblock));
|
||||
pa_assert(c.index < pa_memblock_get_length(c.memblock));
|
||||
|
||||
l = pa_memblock_get_length(c.memblock) - c.index;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue