Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7638b76

Browse files
committed
Add cast
1 parent c2d4a33 commit 7638b76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/flowgraph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ add_const(PyObject *newconst, PyObject *consts, PyObject *const_cache)
11471147
}
11481148
}
11491149
Py_DECREF(newconst);
1150-
return index;
1150+
return (int)index;
11511151
}
11521152

11531153
/* Replace LOAD_CONST c1, LOAD_CONST c2 ... LOAD_CONST cn, BUILD_TUPLE n

0 commit comments

Comments
 (0)