From 17c1172d84efec16b92340909b21ef04665ef1ba Mon Sep 17 00:00:00 2001 From: mjk Date: Sat, 20 Mar 2021 20:30:17 +0000 Subject: [PATCH] work around a (pedantic) format specifier warning --- plugins/windows-notification/api/src/gobject/winrt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/windows-notification/api/src/gobject/winrt.cpp b/plugins/windows-notification/api/src/gobject/winrt.cpp index d123dc08..31390250 100644 --- a/plugins/windows-notification/api/src/gobject/winrt.cpp +++ b/plugins/windows-notification/api/src/gobject/winrt.cpp @@ -12,7 +12,7 @@ static void ImplInitApartment() { if (res == RPC_E_CHANGED_MODE) // seems harmless g_info("attempted to change COM apartment mode of thread %" PRIu32, - ::GetCurrentThreadId()); + std::uint32_t{::GetCurrentThreadId()}); else winrt::throw_hresult(res); }