Navigation Menu

Skip to content

Commit

Permalink
Fix inverted macro
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 14, 2015
1 parent f67edb4 commit e595800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/groonga/rb-grn-index-column.c
Expand Up @@ -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;
Expand Down

0 comments on commit e595800

Please sign in to comment.