-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(param): introduce uint parameter macro (#570)
mr_key_size(), round_robin_threshold(), and eager_max_size() are strictly positive integers, but due to how we access them through our environment variable parameter macros, they are accessed as signed ints. When we eventually want to compare this against `size_t`s and other unsigned types, this creates sign comparison warnings. Just duplicate the macro so we can define unsigned environment params, and then move them to the unsigned macro. Signed-off-by: Nicholas Sielicki <[email protected]>
- Loading branch information
1 parent
f89fc73
commit cc7f71d
Showing
1 changed file
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters