Return ints instead of longs for tuple.count() and tuple.index().
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index 69190d5..dfd2a16 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -478,7 +478,7 @@
 	for (i = start; i < stop && i < Py_SIZE(self); i++) {
 		int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ);
 		if (cmp > 0)
-			return PyLong_FromSsize_t(i);
+			return PyInt_FromSsize_t(i);
 		else if (cmp < 0)
 			return NULL;
 	}
@@ -499,7 +499,7 @@
 		else if (cmp < 0)
 			return NULL;
 	}
-	return PyLong_FromSsize_t(count);
+	return PyInt_FromSsize_t(count);
 }
 
 static int