Commit 8eae3fe6 authored by Zachary Anker's avatar Zachary Anker Committed by GitHub

Update message.c

parent 83264bd1
......@@ -420,7 +420,7 @@ VALUE Message_to_h(VALUE _self) {
} else if (upb_fielddef_label(field) == UPB_LABEL_REPEATED) {
msg_value = RepeatedField_to_ary(msg_value);
if (upb_fieldddef_type(field) == UPB_TYPE_MESSAGE) {
if (upb_fielddef_type(field) == UPB_TYPE_MESSAGE) {
for (int i = 0; i < RARRAY_LEN(msg_value); i++) {
VALUE elem = rb_ary_entry(msg_value, i);
rb_ary_store(msg_value, i, Message_to_h(elem));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment