Kouhei Sutou
null+****@clear*****
Tue Apr 14 16:51:06 JST 2015
Kouhei Sutou 2015-04-14 16:51:06 +0900 (Tue, 14 Apr 2015) New Revision: e5958002fc98dc39a83eed4b8aa0963f1acc7ac7 https://github.com/ranguba/rroonga/commit/e5958002fc98dc39a83eed4b8aa0963f1acc7ac7 Message: Fix inverted macro Modified files: ext/groonga/rb-grn-index-column.c Modified: ext/groonga/rb-grn-index-column.c (+1 -1) =================================================================== --- ext/groonga/rb-grn-index-column.c 2015-04-14 16:43:04 +0900 (09ce56c) +++ ext/groonga/rb-grn-index-column.c 2015-04-14 16:51:06 +0900 (39396ce) @@ -588,7 +588,7 @@ resolve_source_id (grn_ctx *context, grn_obj *column, grn_id range_id, { grn_id source_id; - if (CBOOL2RVAL(rb_obj_is_kind_of(rb_source, rb_cInteger))) { + if (RVAL2CBOOL(rb_obj_is_kind_of(rb_source, rb_cInteger))) { source_id = NUM2UINT(rb_source); } else { grn_obj *source; -------------- next part -------------- HTML����������������������������...Download