Skip to content

Commit afa32d3

Browse files
authored
[flang][cuda] Fix char argument
This would fail with `error: argument of type "char" is incompatible with parameter of type "const char *"`
1 parent a30caa6 commit afa32d3

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)