Skip to content

Commit

Permalink
code-review feedback [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: Julia Dark <[email protected]>
  • Loading branch information
johnkerl and jp-dark committed Nov 13, 2024
1 parent 37cf641 commit 3482173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/r/src/rinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ SEXP c_schema(const std::string& uri, Rcpp::XPtr<somactx_wrap_t> ctxxp) {
ArrowSchemaAllocateChildren(sch, lib_retval->n_children),
"Bad schema children alloc");

for (size_t i = 0; i < (size_t)lib_retval->n_children; i++) {
for (size_t i = 0; i < static_cast<size_t>(lib_retval->n_children); i++) {
spdl::info(
"[c_schema] Accessing name '{}' format '{}' at position {}",
std::string(lib_retval->children[i]->name),
Expand Down
2 changes: 1 addition & 1 deletion apis/r/src/rutilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ SEXP convert_domainish(const tdbs::ArrowTable& arrow_table) {
ArrowArrayAllocateChildren(arr, arrow_array->n_children),
"Bad array children alloc");

for (size_t i = 0; i < (size_t)ncol; i++) {
for (size_t i = 0; i < static_cast<size_t>(ncol); i++) {
if (arrow_array->children[i]->n_buffers == 3) {
// Arrow semantics: variable-length: buffers 0,1,2 are validity,
// offsets, data
Expand Down

0 comments on commit 3482173

Please sign in to comment.