diff --git a/openmp/libompd/gdb-plugin/ompdModule.c b/openmp/libompd/gdb-plugin/ompdModule.c index df602c54aba37..730e6c2b61d63 100644 --- a/openmp/libompd/gdb-plugin/ompdModule.c +++ b/openmp/libompd/gdb-plugin/ompdModule.c @@ -1180,9 +1180,10 @@ 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); } return Py_None; }