From 49e28d77b8df2ee2a7f97d0f685a3ccbf3360050 Mon Sep 17 00:00:00 2001 From: CatherineMoore Date: Fri, 15 Aug 2025 15:30:47 -0400 Subject: [PATCH] [OpenMP] Update ompdModule.c printf to match argument type (#152785) Update printf format string to match argument list --------- Co-authored-by: Joachim Co-authored-by: Joachim Jenke --- openmp/libompd/gdb-plugin/ompdModule.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openmp/libompd/gdb-plugin/ompdModule.c b/openmp/libompd/gdb-plugin/ompdModule.c index 6edc1cdc9c60..c6020de30671 100644 --- a/openmp/libompd/gdb-plugin/ompdModule.c +++ b/openmp/libompd/gdb-plugin/ompdModule.c @@ -1181,9 +1181,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; }