Reduce constraint as the dictionnary iteration is not modifiable

This commit is contained in:
Patrick Pelissier committed 2020-05-08 00:27:15 +02:00
1 parent 4f44b3f60b
commit db192993f1
1 file changed
+2 -2
+2 -2
View File
@@ -52,11 +52,11 @@ int main(void)
// Dictionary iterator are pair (key,value)
if (my_integer_n_p(p->value)) {
printf ("It is a long long, value = %lld\n",
*my_integer_get_n(p->value));
*my_integer_cget_n(p->value));
}
if (my_integer_z_p(p->value)) {
printf ("It is a mpz_t, value =");
mpz_out_str(stdout, 10, *my_integer_get_z(p->value));
mpz_out_str(stdout, 10, *my_integer_cget_z(p->value));
printf("\n");
}
}