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); }