* regparse.c (onig_number_of_names): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f6f769d26d
commit
b4be4c7be3
@ -1,3 +1,7 @@
|
||||
Sun Jun 3 03:15:46 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* regparse.c (onig_number_of_names): suppress a warning.
|
||||
|
||||
Sun Jun 3 01:36:52 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_backtrace.c: change names.
|
||||
|
@ -589,7 +589,7 @@ onig_number_of_names(regex_t* reg)
|
||||
NameTable* t = (NameTable* )reg->name_table;
|
||||
|
||||
if (IS_NOT_NULL(t))
|
||||
return t->num_entries;
|
||||
return (int)t->num_entries;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user