diff options
author | Kevin Newton <[email protected]> | 2023-08-30 14:32:52 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2023-08-30 14:41:39 -0400 |
commit | 49dff732e8734dccc7e30102cadc13290618d54a (patch) | |
tree | 57d20b22f94c73d7da006f4c58ee438706c21056 /compile.c | |
parent | 7be08f3f58a818461b43c8f9a756d656e7e928c5 (diff) |
Update YARP APIs to handle uint8_t
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -878,7 +878,7 @@ rb_iseq_compile_yarp_node(rb_iseq_t * iseq, const yp_node_t *yarp_pointer, yp_pa yp_constant_t constant = parser->constant_pool.constants[index]; if (constant.id != 0) { - constants[constant.id - 1] = rb_intern3(constant.start, constant.length, encoding); + constants[constant.id - 1] = rb_intern3((const char *) constant.start, constant.length, encoding); } } |