summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-02-02 14:31:45 -0800
committerMax Kellermann <max@musicpd.org>2020-03-26 17:25:20 +0100
commit608d7ec1e7b2493a369639021e3074fd5a7ae1fa (patch)
treec7664a5ffadc1f84b5849e7c4b46f37d9752b774 /src/util
parent8474599ed68e549f4863c86ed71f405146d98255 (diff)
[clang-tidy] change integer prefixes to uppercase
Found with readability-uppercase-literal-suffix Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/UTF8.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/UTF8.cxx b/src/util/UTF8.cxx
index 21ce6e1a8..42e89e48a 100644
--- a/src/util/UTF8.cxx
+++ b/src/util/UTF8.cxx
@@ -202,7 +202,7 @@ struct CheckSequenceUTF8 {
};
template<>
-struct CheckSequenceUTF8<0u> {
+struct CheckSequenceUTF8<0U> {
constexpr bool operator()(gcc_unused const char *p) const noexcept {
return true;
}
@@ -215,7 +215,7 @@ InnerSequenceLengthUTF8(const char *p) noexcept
{
return CheckSequenceUTF8<L>()(p)
? L + 1
- : 0u;
+ : 0U;
}
size_t