summaryrefslogtreecommitdiff
path: root/src/basic/extract-word.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-27 14:25:47 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-27 14:25:47 +0100
commit770350f41ceadd17b3b982627ed67a74a87603f4 (patch)
treed49263489849e04c14c268dd56a04f1f9aeea235 /src/basic/extract-word.c
parentfdb4ee00f022863ceee923b196f9c6dd536db9e2 (diff)
parentc932fb71cc90461b88ecdffe47c071d001d78fb4 (diff)
Merge pull request #2451 from zonque/pr-2162-rebased
utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, i…
Diffstat (limited to 'src/basic/extract-word.c')
-rw-r--r--src/basic/extract-word.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/extract-word.c b/src/basic/extract-word.c
index 090d2a7884..6dcd4f9f5b 100644
--- a/src/basic/extract-word.c
+++ b/src/basic/extract-word.c
@@ -107,8 +107,8 @@ int extract_first_word(const char **p, char **ret, const char *separators, Extra
}
if (flags & EXTRACT_CUNESCAPE) {
- uint32_t u;
bool eight_bit = false;
+ char32_t u;
r = cunescape_one(*p, (size_t) -1, &u, &eight_bit);
if (r < 0) {