spa: bluez: backend-hsphfpd: use dbus_bool_t for DBUS_TYPE_BOOLEAN

This commit is contained in:
Barnabás Pőcze 2023-05-03 00:26:37 +02:00 committed by Wim Taymans
parent 36bfd5263f
commit abe9615fec

View file

@ -1036,7 +1036,7 @@ static DBusHandlerResult hsphfpd_parse_endpoint_properties(struct impl *backend,
case DBUS_TYPE_BOOLEAN:
{
bool value;
dbus_bool_t value;
dbus_message_iter_get_basic(&value_i, &value);
if (spa_streq(key, "Connected"))
endpoint->connected = value;