mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
device-restore: Make bools not be bit fields
This makes the pa_bool_t members of userdata not be a single bit field since pa_bool_t can be an int, potentially causing signedness issues in comparisons.
This commit is contained in:
parent
51fcee8902
commit
ba163b8b23
1 changed files with 3 additions and 3 deletions
|
|
@ -90,9 +90,9 @@ struct userdata {
|
|||
pa_native_protocol *protocol;
|
||||
pa_idxset *subscribed;
|
||||
|
||||
pa_bool_t restore_volume:1;
|
||||
pa_bool_t restore_muted:1;
|
||||
pa_bool_t restore_port:1;
|
||||
pa_bool_t restore_volume;
|
||||
pa_bool_t restore_muted;
|
||||
pa_bool_t restore_port;
|
||||
};
|
||||
|
||||
/* Protocol extention commands */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue