summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/objspace/object_tracing.c2
1 files changed, 1 insertions, 1 deletions
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;