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:
parent
7453c53b08
commit
7d3fbdeacb
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ struct allocation_info {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *
|
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) {
|
if (!str) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue