mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05: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
|
|
@ -106,7 +106,7 @@ static struct entry* read_entry(struct userdata *u, char *name) {
|
|||
pa_assert(name);
|
||||
|
||||
key.dptr = name;
|
||||
key.dsize = strlen(name);
|
||||
key.dsize = (int) strlen(name);
|
||||
|
||||
data = gdbm_fetch(u->gdbm_file, key);
|
||||
|
||||
|
|
@ -210,7 +210,7 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
|
|||
}
|
||||
|
||||
key.dptr = name;
|
||||
key.dsize = strlen(name);
|
||||
key.dsize = (int) strlen(name);
|
||||
|
||||
data.dptr = (void*) &entry;
|
||||
data.dsize = sizeof(entry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue