Fix warnings (clang 3.6)

This commit is contained in:
Nicolas Williams
2016-02-19 22:18:29 -06:00
parent dbf9750989
commit b4cf4de807
21 changed files with 37 additions and 35 deletions

View File

@@ -281,7 +281,7 @@ int main(void)
printf("%s\n", buf);
} else if (n == 13) {
rand_num2(&a);
tmp = abs(rand()) & THE_MASK;
tmp = labs(rand()) & THE_MASK;
mp_add_d(&a, tmp, &b);
printf("add_d\n");
mp_to64(&a, buf);
@@ -290,7 +290,7 @@ int main(void)
printf("%s\n", buf);
} else if (n == 14) {
rand_num2(&a);
tmp = abs(rand()) & THE_MASK;
tmp = labs(rand()) & THE_MASK;
mp_sub_d(&a, tmp, &b);
printf("sub_d\n");
mp_to64(&a, buf);