There was an error while loading. Please reload this page.
1 parent 564cf7b commit 481d3afCopy full SHA for 481d3af
1 file changed
Parser/asdl_c.py
@@ -898,7 +898,7 @@ def visitModule(self, mod):
898
return 1;
899
}
900
901
- i = (int)PyLong_AsLong(obj);
+ i = _PyLong_AsInt(obj);
902
if (i == -1 && PyErr_Occurred())
903
904
*out = i;
0 commit comments