summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-12 14:06:22 +0100
committerLennart Poettering <lennart@poettering.net>2018-11-14 17:01:55 +0100
commit608eea8ea0ad89cea964237b732de230c8b11970 (patch)
tree4dd080f38d30cf799dc9319ba24000f0d6f198b9 /src/locale
parentaa8fbc74e3eadf57a15b84cce5778a8eab1d97e6 (diff)
downloadsystemd-608eea8ea0ad89cea964237b732de230c8b11970.tar.gz
systemd-608eea8ea0ad89cea964237b732de230c8b11970.tar.bz2
systemd-608eea8ea0ad89cea964237b732de230c8b11970.zip
localed: be more careful with the used types
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 01bb5a74c2..043fffaccb 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -33,7 +33,8 @@ static int locale_update_system_manager(Context *c, sd_bus *bus) {
_cleanup_strv_free_ char **l_set = NULL;
_cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL;
sd_bus_error error = SD_BUS_ERROR_NULL;
- unsigned c_set, c_unset, p;
+ size_t c_set, c_unset;
+ LocaleVariable p;
int r;
assert(bus);