summaryrefslogtreecommitdiff
path: root/src/basic/extract-word.c
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2015-10-31 20:39:15 -0700
committerShawn Landden <shawn@churchofgit.com>2015-10-31 21:00:57 -0700
commit025b4c410577a10692c608e7dbad712655abb858 (patch)
tree3de2fe13c9a9d9fd778abdcfb1abbb97c202e834 /src/basic/extract-word.c
parent534e8f89d6367cd0e9e17fff67880fb430071d01 (diff)
utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t
rework C11 utf8.[ch] to use char32_t instead of uint32_t when referring to unicode chars, to make things more expressive.
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 c0f9394fad..63dedf612c 100644
--- a/src/basic/extract-word.c
+++ b/src/basic/extract-word.c
@@ -99,7 +99,7 @@ int extract_first_word(const char **p, char **ret, const char *separators, Extra
}
if (flags & EXTRACT_CUNESCAPE) {
- uint32_t u;
+ char32_t u;
r = cunescape_one(*p, (size_t) -1, &c, &u);
if (r < 0) {