summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-11-07 02:03:10 +0100
committerKay Sievers <kay@vrfy.org>2013-11-07 02:05:57 +0100
commit102d8f8169427cb68cdebf5ee0f0e07788e9c2b2 (patch)
tree37c502ff4285790da20ab9c8d550aed8daceb05b /src/locale
parentba341e7c3c18e81a6faa58883e178a60af317a40 (diff)
consistently use "int" when retrieving "bool" from bus messages
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 61a3015ead..744d304c6d 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -908,7 +908,7 @@ static int method_set_vc_keyboard(sd_bus *bus, sd_bus_message *m, void *userdata
Context *c = userdata;
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
const char *keymap, *keymap_toggle;
- unsigned convert, interactive;
+ int convert, interactive;
int r;
r = sd_bus_message_read(m, "ssbb", &keymap, &keymap_toggle, &convert, &interactive);
@@ -971,7 +971,7 @@ static int method_set_x11_keyboard(sd_bus *bus, sd_bus_message *m, void *userdat
Context *c = userdata;
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
const char *layout, *model, *variant, *options;
- unsigned convert, interactive;
+ int convert, interactive;
int r;
r = sd_bus_message_read(m, "ssssbb", &layout, &model, &variant, &options, &convert, &interactive);