Fix some warnings.

This commit is contained in:
hyousatsu
2024-07-06 09:42:25 +00:00
parent c79224b367
commit f0123efa84
44 changed files with 95 additions and 95 deletions

View File

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