Kouhei Sutou
null+****@clear*****
Thu Oct 3 17:59:38 JST 2013
Kouhei Sutou 2013-10-03 17:59:38 +0900 (Thu, 03 Oct 2013) New Revision: 5055e7bd9fd5b4997a7cfc42836419c17120e570 https://github.com/groonga/groonga/commit/5055e7bd9fd5b4997a7cfc42836419c17120e570 Message: Fix wrong union usage I should use struct instead of union to group variables! :< Modified files: lib/ctx_impl.h Modified: lib/ctx_impl.h (+1 -1) =================================================================== --- lib/ctx_impl.h 2013-10-03 17:55:08 +0900 (f8bec40) +++ lib/ctx_impl.h 2013-10-03 17:59:38 +0900 (07f1cfc) @@ -176,7 +176,7 @@ struct _grn_ctx_impl { msgpack_packer msgpacker; #endif #ifdef GRN_WITH_MRUBY - union { + struct { mrb_state *state; } mrb; #endif -------------- next part -------------- HTML����������������������������... Download