Skip to content

Commit

Permalink
her
Browse files Browse the repository at this point in the history
  • Loading branch information
itzpr3d4t0r committed Sep 28, 2024
1 parent c10dda5 commit a1e8b3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src_c/include/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pg_IntFromObj(PyObject *obj, int *val)
*val = (int)PyFloat_AS_DOUBLE(obj);
return 1;
}


*val = PyLong_AsLong(obj);
if (PyErr_Occurred()) {
Expand Down

0 comments on commit a1e8b3f

Please sign in to comment.