commit | afa32d3e0e1a2dddfc76f2e9b80c4a6cc5a5387f | [log] [tgz] |
---|---|---|
author | Valentin Clement (バレンタイン クレメン) <clementval@gmail.com> | Tue Apr 01 11:00:50 2025 -0700 |
committer | GitHub <noreply@github.com> | Tue Apr 01 11:00:50 2025 -0700 |
tree | 3d4cdd2dceb22b9e94ce55da3cf021b57ace9cd9 | |
parent | a30caa6a73286eabe22983ce5a7cca27a25d0790 [diff] |
[flang][cuda] Fix char argument This would fail with `error: argument of type "char" is incompatible with parameter of type "const char *"`
diff --git a/flang-rt/lib/runtime/stop.cpp b/flang-rt/lib/runtime/stop.cpp index a4ef710..69a99e6 100644 --- a/flang-rt/lib/runtime/stop.cpp +++ b/flang-rt/lib/runtime/stop.cpp
@@ -80,7 +80,7 @@ if (code != EXIT_SUCCESS) { std::printf(": code %d\n", code); } - std::printf('\n'); + std::printf("\n"); } #if defined(__CUDACC__) // NVCC supports __trap().