mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
64352dd256
commit
252816f757
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
|
||||
struct spa_bt_sco_io {
|
||||
int started:1;
|
||||
bool started;
|
||||
|
||||
uint8_t read_buffer[MAX_MTU];
|
||||
uint32_t read_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue