Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Feb 28, 2023
1 parent e0693bf commit c893699
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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-16T17:16:21Z
// Created by amalgamation.sh on 2023-02-28T23:30:28Z

/*
* The CRoaring project is under a dual license (Apache/MIT).
Expand Down
10 changes: 5 additions & 5 deletions 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-16T17:16:21Z
// Created by amalgamation.sh on 2023-02-28T23:30:28Z

/*
* 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.8"
#define ROARING_VERSION "0.9.9"
enum {
ROARING_VERSION_MAJOR = 0,
ROARING_VERSION_MINOR = 9,
ROARING_VERSION_REVISION = 8
ROARING_VERSION_REVISION = 9
};
#endif // ROARING_INCLUDE_ROARING_VERSION
/* end file include/roaring/roaring_version.h */
Expand Down Expand Up @@ -505,7 +505,7 @@ void roaring_bitmap_add_range_closed(roaring_bitmap_t *r,
*/
static inline void roaring_bitmap_add_range(roaring_bitmap_t *r,
uint64_t min, uint64_t max) {
if(max == min) return;
if(max <= min) return;
roaring_bitmap_add_range_closed(r, (uint32_t)min, (uint32_t)(max - 1));
}

Expand All @@ -525,7 +525,7 @@ void roaring_bitmap_remove_range_closed(roaring_bitmap_t *r,
*/
static inline void roaring_bitmap_remove_range(roaring_bitmap_t *r,
uint64_t min, uint64_t max) {
if(max == min) return;
if(max <= min) return;
roaring_bitmap_remove_range_closed(r, (uint32_t)min, (uint32_t)(max - 1));
}

Expand Down

0 comments on commit c893699

Please sign in to comment.