fix compiler warnings

This commit is contained in:
Steffen Jaeckel 2014-06-12 17:36:49 +02:00
parent 86e7c59ff4
commit 39b18f774c
2 changed files with 2 additions and 4 deletions

View File

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

View File

@ -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"