blob: caeb2aab9d59ef1cbc6eb9a3729fed64d393aa40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- hyprctl/main.cpp.orig 2025-11-09 23:33:25 UTC
+++ hyprctl/main.cpp
@@ -270,7 +270,7 @@ int requestIPC(std::string_view filename, std::string_
sockaddr_un serverAddress = {0};
serverAddress.sun_family = AF_UNIX;
- std::string socketPath = getRuntimeDir() + "/" + instanceSignature + "/" + filename;
+ std::string socketPath = getRuntimeDir() + "/" + instanceSignature + "/" + static_cast<std::string>(filename);
strncpy(serverAddress.sun_path, socketPath.c_str(), sizeof(serverAddress.sun_path) - 1);
|