From 8b3d8dc7927a77b615174b1241545023c554f97d Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:35:28 +0100 Subject: Format: use %lx for all addresses --- src/events/Misc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/events/Misc.cpp') diff --git a/src/events/Misc.cpp b/src/events/Misc.cpp index 22587599..853d37c9 100644 --- a/src/events/Misc.cpp +++ b/src/events/Misc.cpp @@ -98,14 +98,14 @@ void Events::listener_startDrag(wl_listener* listener, void* data) { wlr_drag* wlrDrag = (wlr_drag*)data; - Debug::log(LOG, "Started drag %x", wlrDrag); + Debug::log(LOG, "Started drag %lx", wlrDrag); wlrDrag->data = data; g_pInputManager->m_sDrag.hyprListener_destroy.initCallback(&wlrDrag->events.destroy, &Events::listener_destroyDrag, &g_pInputManager->m_sDrag, "Drag"); if (wlrDrag->icon) { - Debug::log(LOG, "Drag started with an icon %x", wlrDrag->icon); + Debug::log(LOG, "Drag started with an icon %lx", wlrDrag->icon); g_pInputManager->m_sDrag.dragIcon = wlrDrag->icon; wlrDrag->icon->data = g_pInputManager->m_sDrag.dragIcon; @@ -157,7 +157,7 @@ void Events::listener_commitDragIcon(void* owner, void* data) { } void Events::listener_InhibitActivate(wl_listener* listener, void* data) { - Debug::log(LOG, "Activated exclusive for %x.", g_pCompositor->m_sSeat.exclusiveClient); + Debug::log(LOG, "Activated exclusive for %lx.", g_pCompositor->m_sSeat.exclusiveClient); g_pInputManager->refocus(); g_pCompositor->m_sSeat.exclusiveClient = g_pCompositor->m_sWLRInhibitMgr->active_client; -- cgit v1.2.3