mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-111178: Fix function signatures to fix undefined behavior (#131191)
This commit is contained in:
parent
e4ac196aaa
commit
a5776639c8
5 changed files with 28 additions and 20 deletions
|
@ -1361,7 +1361,8 @@ lineiter_dealloc(PyObject *self)
|
|||
}
|
||||
|
||||
static PyObject *
|
||||
_source_offset_converter(int *value) {
|
||||
_source_offset_converter(void *arg) {
|
||||
int *value = (int*)arg;
|
||||
if (*value == -1) {
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue