diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-08-30 14:32:52 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-08-30 14:41:39 -0400 |
commit | 49dff732e8734dccc7e30102cadc13290618d54a (patch) | |
tree | 57d20b22f94c73d7da006f4c58ee438706c21056 /iseq.c | |
parent | 7be08f3f58a818461b43c8f9a756d656e7e928c5 (diff) |
Update YARP APIs to handle uint8_t
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |