[Groonga-commit] groonga/groonga at 7b2a6c0 [master] mrb: fix wrong argument type

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Mar 29 14:53:17 JST 2017


Kouhei Sutou	2017-03-29 14:53:17 +0900 (Wed, 29 Mar 2017)

  New Revision: 7b2a6c051b5a1c46598a8dd063168d380411c3df
  https://github.com/groonga/groonga/commit/7b2a6c051b5a1c46598a8dd063168d380411c3df

  Message:
    mrb: fix wrong argument type
    
    It will fix crash on Windows.

  Modified files:
    lib/mrb/mrb_column.c

  Modified: lib/mrb/mrb_column.c (+1 -1)
===================================================================
--- lib/mrb/mrb_column.c    2017-03-29 11:38:05 +0900 (9679aac)
+++ lib/mrb/mrb_column.c    2017-03-29 14:53:17 +0900 (57c72cf)
@@ -38,7 +38,7 @@ mrb_grn_column_class_parse_flags(mrb_state *mrb, mrb_value self)
   mrb_int flags_text_size;
   grn_column_flags flags;
 
-  mrb_get_args(mrb, "Ss", &error_message_tag, &flags_text, &flags_text_size);
+  mrb_get_args(mrb, "zs", &error_message_tag, &flags_text, &flags_text_size);
 
   flags = grn_proc_column_parse_flags(ctx,
                                       error_message_tag,
-------------- next part --------------
HTML����������������������������...
Download 



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