diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/.clang-tidy | 2 | ||||
-rw-r--r-- | include/zix/btree.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/.clang-tidy b/include/.clang-tidy index 7a48cc4..a644849 100644 --- a/include/.clang-tidy +++ b/include/.clang-tidy @@ -3,12 +3,10 @@ Checks: > *, - -*-uppercase-literal-suffix, -altera-*, -clang-diagnostic-unused-function, -clang-diagnostic-unused-macros, -hicpp-multiway-paths-covered, - -hicpp-uppercase-literal-suffix, -llvmlibc-*, WarningsAsErrors: '*' HeaderFilterRegex: '.*' diff --git a/include/zix/btree.h b/include/zix/btree.h index 92e5c5f..24a0171 100644 --- a/include/zix/btree.h +++ b/include/zix/btree.h @@ -33,7 +33,7 @@ extern "C" { height of 6 is enough to store trillions. */ #ifndef ZIX_BTREE_MAX_HEIGHT -# define ZIX_BTREE_MAX_HEIGHT 6u +# define ZIX_BTREE_MAX_HEIGHT 6U #endif /// A B-Tree @@ -60,8 +60,8 @@ typedef struct { /// A static end iterator for convenience static const ZixBTreeIter zix_btree_end_iter = { {NULL, NULL, NULL, NULL, NULL, NULL}, - {0u, 0u, 0u, 0u, 0u, 0u}, - 0u}; + {0U, 0U, 0U, 0U, 0U, 0U}, + 0U}; /** Create a new (empty) B-Tree. |