Skip to content

Commit b406d85

Browse files
authored
[3.14] gh-146615: Fix format specifiers in extension modules (GH-146617) (#147704)
Fix format specifier in parse_task_name() for long result.
1 parent 6ea4f84 commit b406d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_remote_debugging_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ parse_task_name(
934934
set_exception_cause(unwinder, PyExc_RuntimeError, "Task name PyLong parsing failed");
935935
return NULL;
936936
}
937-
return PyUnicode_FromFormat("Task-%d", res);
937+
return PyUnicode_FromFormat("Task-%ld", res);
938938
}
939939

940940
if(!(GET_MEMBER(unsigned long, type_obj, unwinder->debug_offsets.type_object.tp_flags) & Py_TPFLAGS_UNICODE_SUBCLASS)) {

0 commit comments

Comments
 (0)