commit | 760dd1031a8db93dc53ae3eb836bcc44a36918a1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Feb 10 17:01:08 1995 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Feb 10 17:01:08 1995 +0000 |
tree | 66ae5769f943402a69c5d11bdcc1594577ea01a5 | |
parent | 9fa2c116139a22d647fc736cf36dfd815c6de944 [diff] |
add some casts
diff --git a/Modules/mpzmodule.c b/Modules/mpzmodule.c index ce31a4b..397f825 100644 --- a/Modules/mpzmodule.c +++ b/Modules/mpzmodule.c
@@ -586,10 +586,10 @@ { 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); }