Skip to content

Commit 6ca70c5

Browse files
dwrobeltomasz-karczewski-red
authored andcommitted
Fix argument specifier for g_warning()
Fixes the following compilation error: ../../flutter/shell/platform/linux/fl_key_event_plugin.cc:189:7: error: format specifies type 'long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] Signed-off-by: Damian Wrobel <[email protected]>
1 parent 6274861 commit 6ca70c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shell/platform/linux/fl_key_event_plugin.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ static void remove_pending_event(FlKeyEventPlugin* self, uint64_t id) {
184184
return;
185185
}
186186
}
187-
g_warning(
188-
"Tried to remove pending event with id %ld, but the event was not found.",
189-
id);
187+
g_warning("Tried to remove pending event with id %" PRIu64
188+
", but the event was not found.",
189+
id);
190190
}
191191

192192
// Adds an GdkEventKey to the pending event queue, with a unique ID, and the

0 commit comments

Comments
 (0)