You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2017/04/07 20:49:45 UTC

arrow git commit: ARROW-787: [GLib] Fix compilation error caused by introducing BooleanBuilder::Append overload

Repository: arrow
Updated Branches:
  refs/heads/master 027c6b808 -> 8ae3283b2


ARROW-787: [GLib] Fix compilation error caused by introducing BooleanBuilder::Append overload

Author: Wes McKinney <we...@twosigma.com>

Closes #506 from wesm/ARROW-787 and squashes the following commits:

e0edb47 [Wes McKinney] Fix compilation error caused by introducing BooleanBuilder::Append overload


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/8ae3283b
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/8ae3283b
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/8ae3283b

Branch: refs/heads/master
Commit: 8ae3283b2ecdf6cb5a6d7e97753781128a57512d
Parents: 027c6b8
Author: Wes McKinney <we...@twosigma.com>
Authored: Fri Apr 7 16:49:39 2017 -0400
Committer: Wes McKinney <we...@twosigma.com>
Committed: Fri Apr 7 16:49:39 2017 -0400

----------------------------------------------------------------------
 c_glib/arrow-glib/boolean-array-builder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/8ae3283b/c_glib/arrow-glib/boolean-array-builder.cpp
----------------------------------------------------------------------
diff --git a/c_glib/arrow-glib/boolean-array-builder.cpp b/c_glib/arrow-glib/boolean-array-builder.cpp
index 1a4c1f9..146eb31 100644
--- a/c_glib/arrow-glib/boolean-array-builder.cpp
+++ b/c_glib/arrow-glib/boolean-array-builder.cpp
@@ -84,7 +84,7 @@ garrow_boolean_array_builder_append(GArrowBooleanArrayBuilder *builder,
     static_cast<arrow::BooleanBuilder *>(
       garrow_array_builder_get_raw(GARROW_ARRAY_BUILDER(builder)).get());
 
-  auto status = arrow_builder->Append(value);
+  auto status = arrow_builder->Append(static_cast<bool>(value));
   if (status.ok()) {
     return TRUE;
   } else {