POLY: use size_t
This commit is contained in:
parent
5e7c980831
commit
783858a52c
@ -66,7 +66,7 @@ void init_polynom(pb_poly *new_poly, mp_int *chara)
|
|||||||
* @param chara the characteristic
|
* @param chara the characteristic
|
||||||
* @param size the size of the polynomial
|
* @param size the size of the polynomial
|
||||||
*/
|
*/
|
||||||
void init_polynom_size(pb_poly *new_poly, mp_int *chara, int size)
|
void init_polynom_size(pb_poly *new_poly, mp_int *chara, size_t size)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
if ((result = pb_init_size(new_poly, chara, size)) != MP_OKAY) {
|
if ((result = pb_init_size(new_poly, chara, size)) != MP_OKAY) {
|
||||||
|
@ -31,7 +31,7 @@ void init_integer(mp_int *new_int);
|
|||||||
|
|
||||||
void init_polynom(pb_poly *new_poly, mp_int *chara);
|
void init_polynom(pb_poly *new_poly, mp_int *chara);
|
||||||
|
|
||||||
void init_polynom_size(pb_poly *new_poly, mp_int *chara, int size);
|
void init_polynom_size(pb_poly *new_poly, mp_int *chara, size_t size);
|
||||||
|
|
||||||
void delete_polynom(pb_poly *new_poly);
|
void delete_polynom(pb_poly *new_poly);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user