diff options
author | David Robillard <d@drobilla.net> | 2022-12-10 13:47:59 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-10 19:04:45 -0500 |
commit | 1988db57ca8003a406e08855ab66d1891fc5ce6b (patch) | |
tree | 0874e40b08073fdb696fe0987ff47ff8cdb7c6c0 /src | |
parent | e0281d51ab8c6ca05a8b467901e5bd96d829bb56 (diff) | |
download | lilv-1988db57ca8003a406e08855ab66d1891fc5ce6b.tar.gz lilv-1988db57ca8003a406e08855ab66d1891fc5ce6b.tar.bz2 lilv-1988db57ca8003a406e08855ab66d1891fc5ce6b.zip |
Use uppercase integer literal suffixes
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-tidy | 1 | ||||
-rw-r--r-- | src/util.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy index 5bf8761..1c26307 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -3,7 +3,6 @@ Checks: > -*-magic-numbers, - -*-uppercase-literal-suffix, -android-cloexec-fopen, -bugprone-branch-clone, -bugprone-narrowing-conversions, @@ -220,7 +220,7 @@ lilv_find_free_path(const char* in_path, char* path = (char*)malloc(in_path_len + 7); memcpy(path, in_path, in_path_len + 1); - for (unsigned i = 2; i < 1000000u; ++i) { + for (unsigned i = 2U; i < 1000000U; ++i) { if (!exists(path, user_data)) { return path; } |