Commits

Anonymous committed 56ca67d

add some casts

  • Participants
  • Parent commits 14b126d
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Modules/mpzmodule.c

  	  {
  	    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);
  	  }