From 7d3fbdeacb9641a7efe11a1f128193e68bfe3889 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 28 May 2013 04:52:07 +0000 Subject: [PATCH] object_tracing.c: fix argument type * ext/objspace/object_tracing.c (make_unique_str): fix argument type. use long for string length. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/objspace/object_tracing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;