diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-28 04:52:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-28 04:52:07 +0000 |
commit | 7d3fbdeacb9641a7efe11a1f128193e68bfe3889 (patch) | |
tree | dd1787065bba6112dcc91b9a7e4f710917e3b014 /ext | |
parent | 7453c53b08655e9d17c0419716ffad1c41663b6d (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')
-rw-r--r-- | ext/objspace/object_tracing.c | 2 |
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; |