From 4ba79a34a06a6a2f026f84ef162cfefd69c2658d Mon Sep 17 00:00:00 2001 From: Damian Wrobel Date: Thu, 28 Jan 2021 23:36:02 +0100 Subject: [PATCH] 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] --- shell/platform/linux/fl_key_event_plugin.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/platform/linux/fl_key_event_plugin.cc b/shell/platform/linux/fl_key_event_plugin.cc index 2bbc6cfe527..1cabc6a1658 100644 --- a/shell/platform/linux/fl_key_event_plugin.cc +++ b/shell/platform/linux/fl_key_event_plugin.cc @@ -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