From 6d74076128f25499d132732075d53c02994a5406 Mon Sep 17 00:00:00 2001 From: vinnyrom Date: Sat, 23 Jul 2016 04:46:50 -0700 Subject: [PATCH] The call to printf expects a string argument, but the actual argument was of class type 'PathString'. (#6422) --- src/md/compiler/disp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/md/compiler/disp.cpp b/src/md/compiler/disp.cpp index 0f0bf88e6d..b091729744 100644 --- a/src/md/compiler/disp.cpp +++ b/src/md/compiler/disp.cpp @@ -152,7 +152,7 @@ Disp::DefineScope( BOOL fResult = SUCCEEDED(hr); // print out a message so people know what's happening printf("Defining scope for EnC using %S %s\n", - szFileNameSuffix, fResult ? "succeeded" : "failed"); + static_cast(szFileNameSuffix), fResult ? "succeeded" : "failed"); goto ErrExit; } -- 2.34.1