Skip to content

Commit 9310dbe

Browse files
clementvalgithub-actions[bot]
authored andcommitted
Automerge: [flang][cuda] Fix char argument
This would fail with `error: argument of type "char" is incompatible with parameter of type "const char *"`
2 parents bb5d6bb + afa32d3 commit 9310dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang-rt/lib/runtime/stop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static void CloseAllExternalUnits(const char *why) {
8080
if (code != EXIT_SUCCESS) {
8181
std::printf(": code %d\n", code);
8282
}
83-
std::printf('\n');
83+
std::printf("\n");
8484
}
8585
#if defined(__CUDACC__)
8686
// NVCC supports __trap().

0 commit comments

Comments
 (0)