[Openmp-commits] [openmp] Update ompdModule.c (PR #152785)

via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 8 13:04:59 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, %ul): "
----------------
jprotze wrote:

```suggestion
      _printf("An error occurred when calling ompd_get_icv_from_scope(%i, %" PRIu64 "): "
```
`ompd_icv_id_t` should be `uint64_t`?

https://github.com/llvm/llvm-project/pull/152785


More information about the Openmp-commits mailing list