mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-17 08:56:42 -05:00
Fix some warnings.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@948 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
d71dc9b022
commit
1b72d02634
2 changed files with 2 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ size_t pa_sample_size(const pa_sample_spec *spec) {
|
||||||
return 4;
|
return 4;
|
||||||
default:
|
default:
|
||||||
assert(0);
|
assert(0);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ static int is_group(gid_t gid, const char *name) {
|
||||||
data = pa_xmalloc(n);
|
data = pa_xmalloc(n);
|
||||||
|
|
||||||
if (getgrgid_r(gid, &group, data, n, &result) < 0 || !result) {
|
if (getgrgid_r(gid, &group, data, n, &result) < 0 || !result) {
|
||||||
pa_log(__FILE__": getgrgid_r(%u): %s", gid, pa_cstrerror(errno));
|
pa_log(__FILE__": getgrgid_r(%u): %s", (unsigned)gid, pa_cstrerror(errno));
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue