summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dexbnf/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dexbnf/simple.c b/plugins/dexbnf/simple.c
index e66e83c..f06fc4d 100644
--- a/plugins/dexbnf/simple.c
+++ b/plugins/dexbnf/simple.c
@@ -132,7 +132,7 @@ static size_t dcd_simple_name_char(input_buffer *buffer)
text = get_input_buffer_text_access(buffer);
remaining = count_input_buffer_remaining(buffer);
- wc = decode_utf8_char(text, remaining, &result);
+ wc = decode_utf8_char((unsigned char *)text, remaining, &result);
if (IS_UTF8_ERROR(wc))
return 0;