diff options
author | vaxerski <[email protected]> | 2023-04-17 17:35:28 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-04-17 17:35:28 +0100 |
commit | 8b3d8dc7927a77b615174b1241545023c554f97d (patch) | |
tree | b3d38169890c07c6ef1c3aab938fcb8fac6b335c /src/events/Devices.cpp | |
parent | 5cb5b628b82e4212b7ce1ead1eabc6dc974b616d (diff) | |
download | Hyprland-8b3d8dc7927a77b615174b1241545023c554f97d.tar.gz Hyprland-8b3d8dc7927a77b615174b1241545023c554f97d.zip |
Format: use %lx for all addresses
Diffstat (limited to 'src/events/Devices.cpp')
-rw-r--r-- | src/events/Devices.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/events/Devices.cpp b/src/events/Devices.cpp index 5b1d6e4e..4b8eeea8 100644 --- a/src/events/Devices.cpp +++ b/src/events/Devices.cpp @@ -19,7 +19,7 @@ void Events::listener_keyboardDestroy(void* owner, void* data) { SKeyboard* PKEYBOARD = (SKeyboard*)owner; g_pInputManager->destroyKeyboard(PKEYBOARD); - Debug::log(LOG, "Destroyed keyboard %x", PKEYBOARD); + Debug::log(LOG, "Destroyed keyboard %lx", PKEYBOARD); } void Events::listener_keyboardKey(void* owner, void* data) { @@ -95,7 +95,7 @@ void Events::listener_newInput(wl_listener* listener, void* data) { void Events::listener_newConstraint(wl_listener* listener, void* data) { const auto PCONSTRAINT = (wlr_pointer_constraint_v1*)data; - Debug::log(LOG, "New mouse constraint at %x", PCONSTRAINT); + Debug::log(LOG, "New mouse constraint at %lx", PCONSTRAINT); g_pInputManager->m_lConstraints.emplace_back(); const auto CONSTRAINT = &g_pInputManager->m_lConstraints.back(); @@ -139,7 +139,7 @@ void Events::listener_destroyConstraint(void* owner, void* data) { PCONSTRAINT->pMouse->currentConstraint = nullptr; } - Debug::log(LOG, "Unconstrained mouse from %x", PCONSTRAINT->constraint); + Debug::log(LOG, "Unconstrained mouse from %lx", PCONSTRAINT->constraint); g_pInputManager->m_lConstraints.remove(*PCONSTRAINT); } |