work around a (pedantic) format specifier warning

This commit is contained in:
mjk 2021-03-20 20:30:17 +00:00 committed by LAGonauta
parent 8f8dfa2e70
commit 17c1172d84

View file

@ -12,7 +12,7 @@ static void ImplInitApartment()
{ {
if (res == RPC_E_CHANGED_MODE) // seems harmless if (res == RPC_E_CHANGED_MODE) // seems harmless
g_info("attempted to change COM apartment mode of thread %" PRIu32, g_info("attempted to change COM apartment mode of thread %" PRIu32,
::GetCurrentThreadId()); std::uint32_t{::GetCurrentThreadId()});
else else
winrt::throw_hresult(res); winrt::throw_hresult(res);
} }