Skip to content

Commit dcbc44f

Browse files
committed
Patch release.
1 parent a1833de commit dcbc44f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Sources/CRoaring/include/roaring.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
2-
// Created by amalgamation.sh on 2023-02-11T22:19:22Z
2+
// Created by amalgamation.sh on 2023-02-16T17:16:21Z
33

44
/*
55
* The CRoaring project is under a dual license (Apache/MIT).
@@ -58,11 +58,11 @@
5858
// /include/roaring/roaring_version.h automatically generated by release.py, do not change by hand
5959
#ifndef ROARING_INCLUDE_ROARING_VERSION
6060
#define ROARING_INCLUDE_ROARING_VERSION
61-
#define ROARING_VERSION "0.9.6"
61+
#define ROARING_VERSION "0.9.8"
6262
enum {
6363
ROARING_VERSION_MAJOR = 0,
6464
ROARING_VERSION_MINOR = 9,
65-
ROARING_VERSION_REVISION = 6
65+
ROARING_VERSION_REVISION = 8
6666
};
6767
#endif // ROARING_INCLUDE_ROARING_VERSION
6868
/* end file include/roaring/roaring_version.h */

Sources/CRoaring/roaring.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
2-
// Created by amalgamation.sh on 2023-02-11T22:19:22Z
2+
// Created by amalgamation.sh on 2023-02-16T17:16:21Z
33

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

0 commit comments

Comments
 (0)