diff options
author | vinnyrom <vinnyrom@microsoft.com> | 2016-07-23 04:46:50 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-07-23 04:46:50 -0700 |
commit | 6d74076128f25499d132732075d53c02994a5406 (patch) | |
tree | 010db61675ea2f228983d483b3a49b23878866df /src/md | |
parent | 61cb42ceb8f6f542606c7863c7e26edea7b9653c (diff) | |
download | coreclr-6d74076128f25499d132732075d53c02994a5406.tar.gz coreclr-6d74076128f25499d132732075d53c02994a5406.tar.bz2 coreclr-6d74076128f25499d132732075d53c02994a5406.zip |
The call to printf expects a string argument, but the actual argument was of class type 'PathString'. (#6422)
Diffstat (limited to 'src/md')
-rw-r--r-- | src/md/compiler/disp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<LPCWSTR>(szFileNameSuffix), fResult ? "succeeded" : "failed"); goto ErrExit; } |