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:
Daniel Mack 2009-12-10 15:43:58 +08:00 committed by Lennart Poettering
parent 6faf38313e
commit 937c587e77
4 changed files with 16 additions and 12 deletions

View file

@ -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;