refactor: Use new hyprutils casts (#11377)
This commit is contained in:
parent
aa6a78f0a4
commit
beee22a95e
116 changed files with 715 additions and 696 deletions
|
|
@ -53,7 +53,7 @@ static CFileDescriptor createSocket(struct sockaddr_un* addr, size_t pathSize) {
|
|||
if (isRegularSocket)
|
||||
unlink(addr->sun_path);
|
||||
|
||||
if (bind(fd.get(), (struct sockaddr*)addr, size) < 0) {
|
||||
if (bind(fd.get(), rc<struct sockaddr*>(addr), size) < 0) {
|
||||
Debug::log(ERR, "Failed to bind socket {}{}", dbgSocketPathPrefix, dbgSocketPathRem);
|
||||
if (isRegularSocket)
|
||||
unlink(addr->sun_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue