Skip to content

Commit 6828337

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

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
@@ -1179,9 +1179,10 @@ static PyObject *call_ompd_get_icv_from_scope(PyObject *self, PyObject *args) {
11791179

11801180
if (retVal != ompd_rc_ok) {
11811181
if (retVal != ompd_rc_incomplete) {
1182-
_printf("An error occurred when calling ompd_get_icv_from_scope(%i, %i): "
1183-
"Error code: %d",
1184-
scope, icvId, retVal);
1182+
_printf(
1183+
"An error occurred when calling ompd_get_icv_from_scope(%i, %" PRIu64
1184+
"): Error code: %d",
1185+
scope, icvId, retVal);
11851186
}
11861187
return Py_None;
11871188
}

0 commit comments

Comments
 (0)