1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2013-05-28 04:52:07 +00:00
parent 7453c53b08
commit 7d3fbdeacb

View file

@ -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;