ruby-changes:28923
From: nobu <ko1@a...>
Date: Tue, 28 May 2013 13:52:17 +0900 (JST)
Subject: [ruby-changes:28923] nobu:r40975 (trunk): object_tracing.c: fix argument type
nobu 2013-05-28 13:52:07 +0900 (Tue, 28 May 2013) New Revision: 40975 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40975 Log: object_tracing.c: fix argument type * ext/objspace/object_tracing.c (make_unique_str): fix argument type. use long for string length. Modified files: trunk/ext/objspace/object_tracing.c Index: ext/objspace/object_tracing.c =================================================================== --- ext/objspace/object_tracing.c (revision 40974) +++ ext/objspace/object_tracing.c (revision 40975) @@ -37,7 +37,7 @@ struct allocation_info { https://github.com/ruby/ruby/blob/trunk/ext/objspace/object_tracing.c#L37 }; 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/