diff options
author | Marcin Wyszynski <marcin.pixie@gmail.com> | 2015-07-23 19:59:46 +0200 |
---|---|---|
committer | Marcin Wyszynski <marcin.pixie@gmail.com> | 2015-07-23 19:59:46 +0200 |
commit | ac91eddb606fce140a4f2ee3e99fe81f2efa59bc (patch) | |
tree | 9e3271fdd3ad15abef30414bc1ea5e74ebcc8a0b /src/ruby | |
parent | 5126bb6d8261ef07fb8132d5b5937f149cf315c8 (diff) |
Avoid implicit conversion on array_length
Diffstat (limited to 'src/ruby')
-rw-r--r-- | src/ruby/ext/grpc/rb_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/ext/grpc/rb_call.c b/src/ruby/ext/grpc/rb_call.c index bfb9f6ff01..7470698e7a 100644 --- a/src/ruby/ext/grpc/rb_call.c +++ b/src/ruby/ext/grpc/rb_call.c @@ -235,7 +235,7 @@ static VALUE grpc_rb_call_set_metadata(VALUE self, VALUE metadata) { */ static int grpc_rb_md_ary_fill_hash_cb(VALUE key, VALUE val, VALUE md_ary_obj) { grpc_metadata_array *md_ary = NULL; - int array_length; + long array_length; int i; /* Construct a metadata object from key and value and add it */ |