labs() takes a long for an input.
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index ce6926b..8c7a9a3 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -1158,7 +1158,7 @@
 {
 	double self;
 	double float_part;
-	int exponent;
+	long exponent;
 
 	PyObject *prev;
 	PyObject *py_exponent = NULL;