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:
Arun Raghavan 2011-08-12 19:33:41 +05:30
parent 51fcee8902
commit ba163b8b23

View file

@ -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 */