Skip to content

Commit 46b9ca6

Browse files
committed
fix type
1 parent 4c00b9e commit 46b9ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6754,7 +6754,7 @@ iseq_builtin_function_name(ID mid)
67546754
{
67556755
const char *name = rb_id2name(mid);
67566756
const char prefix[] = "__builtin_";
6757-
const int prefix_len = strlen(prefix);
6757+
const size_t prefix_len = strlen(prefix);
67586758

67596759
if (UNLIKELY(strncmp("__builtin_", name, prefix_len) == 0)) {
67606760
return &name[prefix_len];

0 commit comments

Comments
 (0)