bluez5: fix wrongly typed started field in spa_bt_sco_io

This is a bitfield, but it's unclear what it achieves since this is the
only member of a bitfield, so it may be more efficient to just make it a
bool.

Fixes a LGTM warning:

    Bit field started of type int should have explicitly unsigned integral, explicitly signed integral, or enumeration type.
This commit is contained in:
Konstantin Kharlamov 2021-07-06 00:05:05 +03:00
parent 64352dd256
commit 252816f757

View file

@ -69,7 +69,7 @@
struct spa_bt_sco_io {
int started:1;
bool started;
uint8_t read_buffer[MAX_MTU];
uint32_t read_size;