mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
add some casts
This commit is contained in:
parent
9fa2c11613
commit
760dd1031a
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue