Skip to content

Commit

Permalink
Patch release.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Feb 16, 2023
1 parent a1833de commit dcbc44f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Sources/CRoaring/include/roaring.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
// Created by amalgamation.sh on 2023-02-11T22:19:22Z
// Created by amalgamation.sh on 2023-02-16T17:16:21Z

/*
* The CRoaring project is under a dual license (Apache/MIT).
Expand Down Expand Up @@ -58,11 +58,11 @@
// /include/roaring/roaring_version.h automatically generated by release.py, do not change by hand
#ifndef ROARING_INCLUDE_ROARING_VERSION
#define ROARING_INCLUDE_ROARING_VERSION
#define ROARING_VERSION "0.9.6"
#define ROARING_VERSION "0.9.8"
enum {
ROARING_VERSION_MAJOR = 0,
ROARING_VERSION_MINOR = 9,
ROARING_VERSION_REVISION = 6
ROARING_VERSION_REVISION = 8
};
#endif // ROARING_INCLUDE_ROARING_VERSION
/* end file include/roaring/roaring_version.h */
Expand Down
5 changes: 2 additions & 3 deletions Sources/CRoaring/roaring.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
// Created by amalgamation.sh on 2023-02-11T22:19:22Z
// Created by amalgamation.sh on 2023-02-16T17:16:21Z

/*
* The CRoaring project is under a dual license (Apache/MIT).
Expand Down Expand Up @@ -18041,8 +18041,7 @@ bool roaring_bitmap_contains_range(const roaring_bitmap_t *r, uint64_t range_sta
}
int32_t is = ra_get_index(&r->high_low_container, hb_rs);
int32_t ie = ra_get_index(&r->high_low_container, hb_re);
ie = (ie < 0 ? -ie - 1 : ie);
if ((is < 0) || ((ie - is) != span) || ie >= hlc_sz) {
if ((ie < 0) || (is < 0) || ((ie - is) != span) || ie >= hlc_sz) {
return false;
}
const uint32_t lb_rs = range_start & 0xFFFF;
Expand Down

0 comments on commit dcbc44f

Please sign in to comment.