Fix some warnings.
This commit is contained in:
@@ -677,7 +677,7 @@ do_factorial(int *MPval, int *MPres) /* Calculate the factorial of MPval. */
|
||||
}
|
||||
mpcim(&i, MPa) ;
|
||||
mpcmi(MP1, &i) ;
|
||||
if (!i) matherr((struct exception *) NULL) ;
|
||||
if (!i) math_err() ;
|
||||
else
|
||||
while (i > 0)
|
||||
{
|
||||
@@ -687,7 +687,7 @@ do_factorial(int *MPval, int *MPres) /* Calculate the factorial of MPval. */
|
||||
i-- ;
|
||||
}
|
||||
}
|
||||
else matherr((struct exception *) NULL) ;
|
||||
else math_err() ;
|
||||
mpstr(MPa, MPres) ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user