aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientProcess.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-26 20:47:27 +0100
committerMax Kellermann <max@duempel.org>2015-01-26 20:48:19 +0100
commita289dcb9ee6d7992a21f24b99be667eed6c32321 (patch)
tree647da96585d6021f664c2bcf87c911e18c440c65 /src/client/ClientProcess.cxx
parent023b9c1e7e6792de4da0b867b6bb5d425928bd5b (diff)
parentad1b6ef0ac5e7c869b6adbede153e8b2ac55d708 (diff)
downloadmpd-a289dcb9ee6d7992a21f24b99be667eed6c32321.tar.gz
mpd-a289dcb9ee6d7992a21f24b99be667eed6c32321.tar.xz
mpd-a289dcb9ee6d7992a21f24b99be667eed6c32321.zip
Merge branch 'v0.18.x' into 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 96099a91c..0b6953371 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())