add some casts

This commit is contained in:
Guido van Rossum 1995-02-10 17:01:08 +00:00
parent 9fa2c11613
commit 760dd1031a

View file

@ -586,10 +586,10 @@ mpz_power(a, b, m)
{
mpzobject *z2;
INCREF(Py_None);
z=mpz_power(a, b, (mpzobject *)Py_None);
z=(mpzobject *)mpz_power(a, b, (mpzobject *)Py_None);
DECREF(Py_None);
if (z==NULL) return(z);
z2=mpz_remainder(z, m);
if (z==NULL) return((object *)z);
z2=(mpzobject *)mpz_remainder(z, m);
DECREF(z);
return((object *)z2);
}