Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6d74076

Browse files
vinnyromjkotas
authored andcommitted
The call to printf expects a string argument, but the actual argument was of class type 'PathString'. (#6422)
1 parent 61cb42c commit 6d74076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/md/compiler/disp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Disp::DefineScope(
152152
BOOL fResult = SUCCEEDED(hr);
153153
// print out a message so people know what's happening
154154
printf("Defining scope for EnC using %S %s\n",
155-
szFileNameSuffix, fResult ? "succeeded" : "failed");
155+
static_cast<LPCWSTR>(szFileNameSuffix), fResult ? "succeeded" : "failed");
156156

157157
goto ErrExit;
158158
}

0 commit comments

Comments
 (0)