From 56135fbf62201e325cd2b7c797065a379ff51cfb Mon Sep 17 00:00:00 2001 From: Mihir Lad Date: Sat, 25 Jul 2020 21:59:26 -0400 Subject: [PATCH] dwm: Make compatible with jsoncpp v1.7.4 This version of jsoncpp requires a cast when calling run_command to disambiguate the function call. --- src/modules/dwm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/dwm.cpp b/src/modules/dwm.cpp index f675aeb0..bc84ea0f 100644 --- a/src/modules/dwm.cpp +++ b/src/modules/dwm.cpp @@ -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());