Fix mismatched pointer type

pull/17240/head
なつき 5 months ago committed by GitHub
parent 3836fd3474
commit 22e9859c57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ruby/ext/google/protobuf_c/defs.c

@ -1510,7 +1510,7 @@ static VALUE MethodDescriptor_initialize(VALUE _self, VALUE cookie,
} }
RB_OBJ_WRITE(_self, &self->descriptor_pool, descriptor_pool); RB_OBJ_WRITE(_self, &self->descriptor_pool, descriptor_pool);
self->methoddef = (const upb_ServiceDef*)NUM2ULL(ptr); self->methoddef = (const upb_MethodDef*)NUM2ULL(ptr);
return Qnil; return Qnil;
} }

Loading…
Cancel
Save