fix compiler warnings
This commit is contained in:
parent
86e7c59ff4
commit
39b18f774c
@ -11,7 +11,6 @@
|
||||
|
||||
int fp_radix_size(fp_int *a, int radix, int *size)
|
||||
{
|
||||
int digs;
|
||||
fp_int t;
|
||||
fp_digit d;
|
||||
|
||||
@ -36,7 +35,6 @@ int fp_radix_size(fp_int *a, int radix, int *size)
|
||||
t.sign = FP_ZPOS;
|
||||
}
|
||||
|
||||
digs = 0;
|
||||
while (fp_iszero (&t) == FP_NO) {
|
||||
fp_div_d (&t, (fp_digit) radix, &t, &d);
|
||||
(*size)++;
|
||||
|
@ -18,8 +18,8 @@ const char *fp_ident(void)
|
||||
"TomsFastMath (%s)\n"
|
||||
"\n"
|
||||
"Sizeofs\n"
|
||||
"\tfp_digit = %u\n"
|
||||
"\tfp_word = %u\n"
|
||||
"\tfp_digit = %lu\n"
|
||||
"\tfp_word = %lu\n"
|
||||
"\n"
|
||||
"FP_MAX_SIZE = %u\n"
|
||||
"\n"
|
||||
|
Loading…
Reference in New Issue
Block a user