Skip to content

Commit

Permalink
don't use c99 features in headers
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4410 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
lrz committed Aug 6, 2010
1 parent 0daff74 commit e031699
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion objc.h
Expand Up @@ -25,7 +25,8 @@ rb_get_bs_method_type(bs_element_method_t *bs_method, int arg)
}
}
else {
for (unsigned int i = 0; i < bs_method->args_count; i++) {
unsigned int i;
for (i = 0; i < bs_method->args_count; i++) {
if (bs_method->args[i].index == arg) {
return bs_method->args[i].type;
}
Expand Down

0 comments on commit e031699

Please sign in to comment.