aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mbstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbstring.h b/include/mbstring.h
index 947195f..898bdca 100644
--- a/include/mbstring.h
+++ b/include/mbstring.h
@@ -54,7 +54,7 @@ rune u8cut(struct u8view *restrict, struct u8view *restrict, const rune *,
/* Encoding-generic macros */
#define rtoucs(buf, bufsz, ch) \
_Generic((buf), char8_t *: rtou8)((buf), (bufsz), (ch))
-#define ucsnext(ch, sv) _Generic((sv), struct u8view: u8next)((ch), (sv))
+#define ucsnext(ch, sv) _Generic((sv), struct u8view *: u8next)((ch), (sv))
#define ucsprev(ch, sv, start) \
_Generic((sv), const char8_t **: u8prev)((ch), (sv), (start))
#define ucstor(ch, p) \