labs() takes a long for an input.

This commit is contained in:
Raymond Hettinger 2008-02-01 22:22:50 +00:00
parent c9e928ae0f
commit ffc667cbd5
1 changed files with 1 additions and 1 deletions

View File

@ -1158,7 +1158,7 @@ float_as_integer_ratio(PyObject *v, PyObject *unused)
{
double self;
double float_part;
int exponent;
long exponent;
PyObject *prev;
PyObject *py_exponent = NULL;