mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-04 01:40:46 -05:00
fix a number of warnings
most of them were due to missing #ifdefs or wrong printf format type for [s]size_t.
This commit is contained in:
parent
6faf38313e
commit
937c587e77
4 changed files with 16 additions and 12 deletions
|
|
@ -580,8 +580,8 @@ char *pa_strlcpy(char *b, const char *s, size_t l) {
|
|||
|
||||
static int set_scheduler(int rtprio) {
|
||||
struct sched_param sp;
|
||||
int r;
|
||||
#ifdef HAVE_DBUS
|
||||
int r;
|
||||
DBusError error;
|
||||
DBusConnection *bus;
|
||||
|
||||
|
|
@ -628,7 +628,7 @@ static int set_scheduler(int rtprio) {
|
|||
|
||||
errno = -r;
|
||||
#else
|
||||
errno = r;
|
||||
errno = 0;
|
||||
#endif
|
||||
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue