mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix argument specifier for g_warning() (#23674)
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]
This commit is contained in:
parent
1fad016e20
commit
4ba79a34a0
@ -184,9 +184,9 @@ static void remove_pending_event(FlKeyEventPlugin* self, uint64_t id) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
g_warning(
|
||||
"Tried to remove pending event with id %ld, but the event was not found.",
|
||||
id);
|
||||
g_warning("Tried to remove pending event with id %" PRIu64
|
||||
", but the event was not found.",
|
||||
id);
|
||||
}
|
||||
|
||||
// Adds an GdkEventKey to the pending event queue, with a unique ID, and the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user