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:
parent
48aede9f63
commit
56135fbf62
@ -263,7 +263,7 @@ namespace modules {
|
|||||||
m_log.info("%s: Sending workspace %s command to ipc handler", name(), ipc_cmd);
|
m_log.info("%s: Sending workspace %s command to ipc handler", name(), ipc_cmd);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
m_ipc->run_command(ipc_cmd, stoul(cmd));
|
m_ipc->run_command(ipc_cmd, (Json::UInt64)stoul(cmd));
|
||||||
return true;
|
return true;
|
||||||
} catch (const dwmipc::SocketClosedError& err) {
|
} catch (const dwmipc::SocketClosedError& err) {
|
||||||
m_log.err("%s: Disconnected from socket: %s", name(), err.what());
|
m_log.err("%s: Disconnected from socket: %s", name(), err.what());
|
||||||
|
Loading…
Reference in New Issue
Block a user