[Groonga-commit] groonga/groonga at 181c2ae [master] mrb: add missing cast for MRB_INT64

Back to archive index

Kouhei Sutou null+****@clear*****
Tue May 17 17:43:51 JST 2016


Kouhei Sutou	2016-05-17 17:43:51 +0900 (Tue, 17 May 2016)

  New Revision: 181c2ae06d2352a88dbae627160214ab740fdcac
  https://github.com/groonga/groonga/commit/181c2ae06d2352a88dbae627160214ab740fdcac

  Message:
    mrb: add missing cast for MRB_INT64

  Modified files:
    lib/ctx_impl_mrb.c

  Modified: lib/ctx_impl_mrb.c (+2 -1)
===================================================================
--- lib/ctx_impl_mrb.c    2016-05-17 17:11:08 +0900 (ef628dd)
+++ lib/ctx_impl_mrb.c    2016-05-17 17:43:51 +0900 (cfb6c6f)
@@ -247,7 +247,8 @@ grn_ctx_impl_mrb_init_lazy(grn_ctx *ctx)
       reason = mrb_funcall(mrb, mrb_obj_value(mrb->exc), "inspect", 0);
       ERR(GRN_UNKNOWN_ERROR,
           "failed to initialize mruby: %.*s",
-          RSTRING_LEN(reason), RSTRING_PTR(reason));
+          (int)RSTRING_LEN(reason),
+          RSTRING_PTR(reason));
       mrb_close(ctx->impl->mrb.state);
       ctx->impl->mrb.state = NULL;
     } else {
-------------- next part --------------
HTML����������������������������...
Download 



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