From bb5f56e704ca6f838c78a6ecf44f86a6d2b12fea Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Tue, 30 Jan 2024 18:01:12 -0600 Subject: [PATCH] Upgrade Microsoft.Windows.ImplementationLibrary to 1.0.240122.1 (#16617) This includes a fix for the hang on shutdown due to the folder change reader. WIL now validates format strings in `LOG...` macros (yay!) and so we needed to fix some of our `LOG` macros. Closes #16456 (cherry picked from commit ce30e7c89c54c779f506e54c3f3ff996825044f7) Service-Card-Id: 91923199 Service-Version: 1.19 --- dep/nuget/packages.config | 2 +- src/common.nugetversions.targets | 4 ++-- src/renderer/atlas/BackendD3D.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dep/nuget/packages.config b/dep/nuget/packages.config index d0c670dcd57..e6fd7ec3a68 100644 --- a/dep/nuget/packages.config +++ b/dep/nuget/packages.config @@ -9,7 +9,7 @@ - + diff --git a/src/common.nugetversions.targets b/src/common.nugetversions.targets index 2a3d5cc062e..f3cb03f6cb8 100644 --- a/src/common.nugetversions.targets +++ b/src/common.nugetversions.targets @@ -62,7 +62,7 @@ - + @@ -93,7 +93,7 @@ - + diff --git a/src/renderer/atlas/BackendD3D.cpp b/src/renderer/atlas/BackendD3D.cpp index 923747ef94a..be3728d7166 100644 --- a/src/renderer/atlas/BackendD3D.cpp +++ b/src/renderer/atlas/BackendD3D.cpp @@ -457,7 +457,7 @@ void BackendD3D::_recreateCustomShader(const RenderingPayload& p) { if (error) { - LOG_HR_MSG(hr, "%*hs", error->GetBufferSize(), error->GetBufferPointer()); + LOG_HR_MSG(hr, "%.*hs", static_cast(error->GetBufferSize()), static_cast(error->GetBufferPointer())); } else {