Skip to content

Commit

Permalink
fix issue 680 (#681)
Browse files Browse the repository at this point in the history
* fix issue 680

* updating uraimo/run-on-arch-action
  • Loading branch information
lemire authored Nov 11, 2024
1 parent ad487ef commit cc9e07f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/s390x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: uraimo/run-on-arch-action@b0ffb25eb00af00468375982384441f063da1741 # v2.7.2
- uses: uraimo/run-on-arch-action@5397f9e30a9b62422f302092631c99ae1effcd9e # v2.8.1
name: Test
id: runcmd
with:
Expand Down
4 changes: 2 additions & 2 deletions src/art/art.c
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ static art_val_t *art_find_at(const art_node_t *node,
}

// Returns the size in bytes of the subtrie.
size_t art_size_in_bytes_at(const art_node_t *node) {
static size_t art_size_in_bytes_at(const art_node_t *node) {
if (art_is_leaf(node)) {
return 0;
}
Expand Down Expand Up @@ -1372,7 +1372,7 @@ static void art_node_print_type(const art_node_t *node) {
}
}

void art_node_printf(const art_node_t *node, uint8_t depth) {
static void art_node_printf(const art_node_t *node, uint8_t depth) {
if (art_is_leaf(node)) {
printf("{ type: Leaf, key: ");
art_leaf_t *leaf = CROARING_CAST_LEAF(node);
Expand Down
13 changes: 0 additions & 13 deletions src/roaring64.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,19 +262,6 @@ roaring64_bitmap_t *roaring64_bitmap_of_ptr(size_t n_args,
return r;
}

roaring64_bitmap_t *roaring64_bitmap_of(size_t n_args, ...) {
roaring64_bitmap_t *r = roaring64_bitmap_create();
roaring64_bulk_context_t context = CROARING_ZERO_INITIALIZER;
va_list ap;
va_start(ap, n_args);
for (size_t i = 0; i < n_args; i++) {
uint64_t val = va_arg(ap, uint64_t);
roaring64_bitmap_add_bulk(r, &context, val);
}
va_end(ap);
return r;
}

static inline leaf_t *containerptr_roaring64_bitmap_add(roaring64_bitmap_t *r,
uint8_t *high48,
uint16_t low16,
Expand Down

0 comments on commit cc9e07f

Please sign in to comment.