diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c index f80731e3bf..7ef19bd538 100644 --- a/ext/objspace/object_tracing.c +++ b/ext/objspace/object_tracing.c @@ -37,7 +37,7 @@ struct allocation_info { }; static const char * -make_unique_str(st_table *tbl, const char *str, int len) +make_unique_str(st_table *tbl, const char *str, long len) { if (!str) { return NULL;