From 0a16513946c94483e008b3d0073db9fcc84b201e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 13 Jul 2022 15:48:47 +0200 Subject: [PATCH] fix warning --- src/debug/HyprCtl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index ab72d86e..67a20910 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -515,7 +515,7 @@ std::string getReply(std::string request) { // process flags for non-batch requests if (!(request.find("[[BATCH]]") == 0)) { - int sepIndex = 0; + long unsigned int sepIndex = 0; for (const auto& c : request) { if (c == '/') { // stop at separator break;