mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
fix some compiler warnings with clang
This commit is contained in:
parent
317f3b6be7
commit
e4cac644d2
20 changed files with 67 additions and 46 deletions
|
|
@ -299,7 +299,7 @@ impl_get_connection(struct spa_dbus *dbus,
|
|||
conn = calloc(1, sizeof(struct connection));
|
||||
conn->this = impl_connection;
|
||||
conn->impl = impl;
|
||||
conn->conn = dbus_bus_get_private(type, &error);
|
||||
conn->conn = dbus_bus_get_private((DBusBusType)type, &error);
|
||||
if (conn->conn == NULL)
|
||||
goto error;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue