summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-08-30 14:32:52 -0400
committerKevin Newton <kddnewton@gmail.com>2023-08-30 14:41:39 -0400
commit49dff732e8734dccc7e30102cadc13290618d54a (patch)
tree57d20b22f94c73d7da006f4c58ee438706c21056 /iseq.c
parent7be08f3f58a818461b43c8f9a756d656e7e928c5 (diff)
Update YARP APIs to handle uint8_t
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 9082cd4861..4466de8bd1 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1425,7 +1425,7 @@ iseqw_s_compile_yarp(int argc, VALUE *argv, VALUE self)
size_t len = RSTRING_LEN(src);
VALUE name = rb_fstring_lit("<compiled>");
- yp_parser_init(&parser, RSTRING_PTR(src), len, "");
+ yp_parser_init(&parser, (const uint8_t *) RSTRING_PTR(src), len, "");
yp_node_t *node = yp_parse(&parser);