summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-08-12 19:33:41 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-08-15 11:51:35 +0530
commitba163b8b23bcd72c35b028eb0b43c31a6ae1724d (patch)
treea3727c6d5ce86fbca9099a69d3bde60cd9224774 /src/modules
parent51fcee89029063998913d1ccab7df54134d72b8d (diff)
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.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-device-restore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/module-device-restore.c b/src/modules/module-device-restore.c
index 75b1e40e1..944181392 100644
--- a/src/modules/module-device-restore.c
+++ b/src/modules/module-device-restore.c
@@ -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 */