[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 14:26:52 PDT 2025
================
@@ -1180,9 +1180,9 @@ 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): "
- "Error code: %d",
- scope, icvId, retVal);
+ _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);
```
https://github.com/llvm/llvm-project/pull/152785
More information about the Openmp-commits
mailing list