aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientProcess.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-26 20:57:29 +0100
committerMax Kellermann <max@duempel.org>2015-01-26 20:57:29 +0100
commitae7e1a22cb3bc6029a6f270c3a68a139dfa86085 (patch)
treee4c11d3d2f125222b498005fcb6365ea94e53f9b /src/client/ClientProcess.cxx
parent16944b53973cb52f343eda947262bf7a968b1953 (diff)
parenta289dcb9ee6d7992a21f24b99be667eed6c32321 (diff)
downloadmpd-ae7e1a22cb3bc6029a6f270c3a68a139dfa86085.tar.gz
mpd-ae7e1a22cb3bc6029a6f270c3a68a139dfa86085.tar.xz
mpd-ae7e1a22cb3bc6029a6f270c3a68a139dfa86085.zip
Merge branch 'v0.19.x'
Diffstat (limited to 'src/client/ClientProcess.cxx')
-rw-r--r--src/client/ClientProcess.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/ClientProcess.cxx b/src/client/ClientProcess.cxx
index 029f3cb14..2aec79297 100644
--- a/src/client/ClientProcess.cxx
+++ b/src/client/ClientProcess.cxx
@@ -41,7 +41,7 @@ client_process_command_list(Client &client, bool list_ok,
FormatDebug(client_domain, "process command \"%s\"", cmd);
ret = command_process(client, num++, cmd);
- FormatDebug(client_domain, "command returned %i", ret);
+ FormatDebug(client_domain, "command returned %i", int(ret));
if (ret != CommandResult::OK || client.IsExpired())
break;
else if (list_ok)
@@ -90,7 +90,7 @@ client_process_line(Client &client, char *line)
std::move(cmd_list));
FormatDebug(client_domain,
"[%u] process command "
- "list returned %i", client.num, ret);
+ "list returned %i", client.num, int(ret));
if (ret == CommandResult::CLOSE ||
client.IsExpired())
@@ -126,7 +126,7 @@ client_process_line(Client &client, char *line)
ret = command_process(client, 0, line);
FormatDebug(client_domain,
"[%u] command returned %i",
- client.num, ret);
+ client.num, int(ret));
if (ret == CommandResult::CLOSE ||
client.IsExpired())