summaryrefslogtreecommitdiff
path: root/src/basic/extract-word.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-11-02 10:57:38 +0100
committerDaniel Mack <github@zonque.org>2015-11-02 10:57:38 +0100
commit86b4428a58739a3899f0d2cee5bf78ba861d16b7 (patch)
tree62b24c733d65866a8302114cc3440d4ee3ca2097 /src/basic/extract-word.c
parent8fa7cf70764319982e6617413cd0e287f6e35447 (diff)
parent025b4c410577a10692c608e7dbad712655abb858 (diff)
Merge pull request #1740 from shawnl/master
utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t
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) {