[Openmp-commits] [openmp] [OpenMP] Update ompdModule.c printf to match argument type (PR #152785)
via Openmp-commits
openmp-commits at lists.llvm.org
Fri Aug 8 13:47:49 PDT 2025
================
@@ -1180,7 +1180,7 @@ static PyObject *call_ompd_get_icv_from_scope(PyObject *self, PyObject *args) {
if (retVal != ompd_rc_ok) {
if (retVal != ompd_rc_incomplete) {
- _printf("An error occurred when calling ompd_get_icv_from_scope(%i, %i): "
+ _printf("An error occurred when calling ompd_get_icv_from_scope(%i, %" PRIu64 "): "
"Error code: %d",
scope, icvId, retVal);
----------------
jprotze wrote:
```suggestion
_printf(
"An error occurred when calling ompd_get_icv_from_scope(%i, %" PRIu64
"): Error code: %d", scope, icvId, retVal);
```
This should make clang-format happier
https://github.com/llvm/llvm-project/pull/152785
More information about the Openmp-commits
mailing list