diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-02-02 14:31:45 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-02-04 15:20:50 -0800 |
commit | a3963de668447cf296db5d43421079ea9a3d7400 (patch) | |
tree | 7de440610b5a2f8f0f50ccab72c723bfd9845ed1 /src/db | |
parent | 140d8547c7cd7432e4acb1acc18dc5235eef0bef (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/db')
-rw-r--r-- | src/db/plugins/ProxyDatabasePlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx index 6d77416f2..74ce9e8d1 100644 --- a/src/db/plugins/ProxyDatabasePlugin.cxx +++ b/src/db/plugins/ProxyDatabasePlugin.cxx @@ -448,7 +448,7 @@ ProxyDatabase::ProxyDatabase(EventLoop &_loop, DatabaseListener &_listener, listener(_listener), host(block.GetBlockValue("host", "")), password(block.GetBlockValue("password", "")), - port(block.GetBlockValue("port", 0u)), + port(block.GetBlockValue("port", 0U)), keepalive(block.GetBlockValue("keepalive", false)) { } @@ -517,7 +517,7 @@ ProxyDatabase::Connect() (void)keepalive; #endif - idle_received = ~0u; + idle_received = ~0U; is_idle = false; SocketMonitor::Open(SocketDescriptor(mpd_async_get_fd(mpd_connection_get_async(connection)))); |