summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-28 04:52:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-28 04:52:07 +0000
commit7d3fbdeacb9641a7efe11a1f128193e68bfe3889 (patch)
treedd1787065bba6112dcc91b9a7e4f710917e3b014 /ext/objspace
parent7453c53b08655e9d17c0419716ffad1c41663b6d (diff)
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
Diffstat (limited to 'ext/objspace')
-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 f80731e..7ef19bd 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;