mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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;
|
||||
default:
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -564,7 +564,7 @@ static int is_group(gid_t gid, const char *name) {
|
|||
data = pa_xmalloc(n);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue