[Groonga-commit] groonga/groonga at 78207d5 [master] Remove needless cast

Back to archive index
Kouhei Sutou null+****@clear*****
Tue Dec 25 15:58:21 JST 2018


Kouhei Sutou	2018-12-25 15:58:21 +0900 (Tue, 25 Dec 2018)

  Revision: 78207d5b14200838c9719de925814555da21a7e0
  https://github.com/groonga/groonga/commit/78207d5b14200838c9719de925814555da21a7e0

  Message:
    Remove needless cast

  Modified files:
    lib/mrb/mrb_bulk.c

  Modified: lib/mrb/mrb_bulk.c (+1 -1)
===================================================================
--- lib/mrb/mrb_bulk.c    2018-12-25 15:47:30 +0900 (c20847ce8)
+++ lib/mrb/mrb_bulk.c    2018-12-25 15:58:21 +0900 (fe2671e1e)
@@ -367,7 +367,7 @@ grn_mrb_bulk_init(grn_ctx *ctx)
   klass = mrb_define_class_under(mrb, module, "Bulk", mrb->object_class);
   MRB_SET_INSTANCE_TT(klass, MRB_TT_DATA);
 
-  mrb_define_class_method(mrb, (struct RObject *)klass, "true?",
+  mrb_define_class_method(mrb, klass, "true?",
                           mrb_grn_bulk_s_is_true, MRB_ARGS_REQ(1));
 
   mrb_define_method(mrb, klass, "initialize",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181225/5387897c/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index