Skip to content

Commit 49e28d7

Browse files
[OpenMP] Update ompdModule.c printf to match argument type (#152785)
Update printf format string to match argument list --------- Co-authored-by: Joachim <[email protected]> Co-authored-by: Joachim Jenke <[email protected]>
1 parent c6ea7d7 commit 49e28d7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

openmp/libompd/gdb-plugin/ompdModule.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,9 +1181,10 @@ static PyObject *call_ompd_get_icv_from_scope(PyObject *self, PyObject *args) {
11811181

11821182
if (retVal != ompd_rc_ok) {
11831183
if (retVal != ompd_rc_incomplete) {
1184-
_printf("An error occurred when calling ompd_get_icv_from_scope(%i, %i): "
1185-
"Error code: %d",
1186-
scope, icvId, retVal);
1184+
_printf(
1185+
"An error occurred when calling ompd_get_icv_from_scope(%i, %" PRIu64
1186+
"): Error code: %d",
1187+
scope, icvId, retVal);
11871188
}
11881189
return Py_None;
11891190
}

0 commit comments

Comments
 (0)