From beee22a95ed9044950e5486f22edd813e00ffa2c Mon Sep 17 00:00:00 2001 From: Kamikadze <40305144+Kam1k4dze@users.noreply.github.com> Date: Thu, 14 Aug 2025 19:44:56 +0500 Subject: refactor: Use new hyprutils casts (#11377) --- src/desktop/WLSurface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/desktop/WLSurface.cpp') diff --git a/src/desktop/WLSurface.cpp b/src/desktop/WLSurface.cpp index d1483db2..d868e1a9 100644 --- a/src/desktop/WLSurface.cpp +++ b/src/desktop/WLSurface.cpp @@ -148,7 +148,7 @@ void CWLSurface::destroy() { m_resource.reset(); - Debug::log(LOG, "CWLSurface {:x} called destroy()", (uintptr_t)this); + Debug::log(LOG, "CWLSurface {:x} called destroy()", rc(this)); } void CWLSurface::init() { @@ -161,7 +161,7 @@ void CWLSurface::init() { m_listeners.destroy = m_resource->m_events.destroy.listen([this] { destroy(); }); - Debug::log(LOG, "CWLSurface {:x} called init()", (uintptr_t)this); + Debug::log(LOG, "CWLSurface {:x} called init()", rc(this)); } PHLWINDOW CWLSurface::getWindow() const { -- cgit v1.2.3