From a5b86b987bb5a6fbcdb191bbe8b51a621140b4e6 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sat, 26 Dec 2020 22:15:06 -0500 Subject: Fix code analysis warnings. --- src/engine/cabextract.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/cabextract.cpp') diff --git a/src/engine/cabextract.cpp b/src/engine/cabextract.cpp index 04c2c6ec..5a02ff8a 100644 --- a/src/engine/cabextract.cpp +++ b/src/engine/cabextract.cpp @@ -543,7 +543,7 @@ static INT_PTR CopyFileCallback( // copy stream name hr = StrAllocStringAnsi(pContext->Cabinet.psczStreamName, pFDINotify->psz1, 0, CP_UTF8); - ExitOnFailure(hr, "Failed to copy stream name: %ls", pFDINotify->psz1); + ExitOnFailure(hr, "Failed to copy stream name: %hs", pFDINotify->psz1); // set operation complete event if (!::SetEvent(pContext->Cabinet.hOperationCompleteEvent)) -- cgit v1.2.3-55-g6feb