diff --git a/plugins/windows-notification/api/src/shortcutcreator.cpp b/plugins/windows-notification/api/src/shortcutcreator.cpp index 0412769c..d407046f 100644 --- a/plugins/windows-notification/api/src/shortcutcreator.cpp +++ b/plugins/windows-notification/api/src/shortcutcreator.cpp @@ -59,7 +59,7 @@ namespace { #define checked(func, args) \ if (const auto hr = ((func)args); FAILED(hr)) \ { \ - g_warning("%s%s failed: hresult %#08" PRIX32, \ + g_warning("%s%s failed: hresult 0x%08" PRIX32, \ #func, #args, static_cast(hr)); \ winrt::throw_hresult(hr); \ } @@ -76,7 +76,7 @@ struct property ~property() { if (const auto hr = ::PropVariantClear(&var); FAILED(hr)) - g_critical("PropVariantClear failed: hresult %#08" PRIX32, + g_critical("PropVariantClear failed: hresult 0x%08" PRIX32, static_cast(hr)); }