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:
Damian Wrobel 2021-01-28 23:36:02 +01:00 committed by GitHub
parent 1fad016e20
commit 4ba79a34a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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