mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-15 05:33:56 -04:00
add a few more gcc warning flags and fix quite a few problems found by doing so
This commit is contained in:
parent
047eb52b52
commit
b7026bf248
99 changed files with 810 additions and 776 deletions
|
|
@ -280,7 +280,7 @@ char *pa_proplist_to_string(pa_proplist *p) {
|
|||
char *c;
|
||||
|
||||
pa_assert_se(pa_proplist_get(p, key, &value, &nbytes) == 0);
|
||||
c = pa_xnew(char, nbytes*2+1);
|
||||
c = pa_xmalloc(nbytes*2+1);
|
||||
pa_hexstr((const uint8_t*) value, nbytes, c, nbytes*2+1);
|
||||
|
||||
pa_strbuf_printf(buf, "%s = hex:%s\n", key, c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue