File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Source/WebCore/platform/gamepad/libwpe Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 32
32
#include " GamepadLibWPE.h"
33
33
#include " GamepadProviderClient.h"
34
34
#include " Logging.h"
35
+ #include < inttypes.h>
35
36
#include < wpe/wpe.h>
36
37
#include < wtf/NeverDestroyed.h>
37
38
@@ -122,7 +123,7 @@ void GamepadProviderLibWPE::gamepadConnected(uintptr_t id)
122
123
ASSERT (!m_gamepadMap.get (id));
123
124
ASSERT (m_provider);
124
125
125
- LOG (Gamepad, " GamepadProviderLibWPE device %u added" , id);
126
+ LOG (Gamepad, " GamepadProviderLibWPE device %" PRIuPTR " added" , id);
126
127
127
128
unsigned index = indexForNewlyConnectedDevice ();
128
129
auto gamepad = makeUnique<GamepadLibWPE>(m_provider.get (), id, index);
@@ -150,7 +151,7 @@ void GamepadProviderLibWPE::gamepadConnected(uintptr_t id)
150
151
151
152
void GamepadProviderLibWPE::gamepadDisconnected (uintptr_t id)
152
153
{
153
- LOG (Gamepad, " GamepadProviderLibWPE device %u removed" , id);
154
+ LOG (Gamepad, " GamepadProviderLibWPE device %" PRIuPTR " removed" , id);
154
155
155
156
auto removedGamepad = removeGamepadForId (id);
156
157
ASSERT (removedGamepad);
You can’t perform that action at this time.
0 commit comments