dwm: Make compatible with jsoncpp v1.7.4

This version of jsoncpp requires a cast when calling run_command to disambiguate
the function call.
This commit is contained in:
Mihir Lad 2020-07-25 21:59:26 -04:00
parent 48aede9f63
commit 56135fbf62

View File

@ -263,7 +263,7 @@ namespace modules {
m_log.info("%s: Sending workspace %s command to ipc handler", name(), ipc_cmd);
try {
m_ipc->run_command(ipc_cmd, stoul(cmd));
m_ipc->run_command(ipc_cmd, (Json::UInt64)stoul(cmd));
return true;
} catch (const dwmipc::SocketClosedError& err) {
m_log.err("%s: Disconnected from socket: %s", name(), err.what());