POLY: use size_t

This commit is contained in:
hasufell 2014-04-15 18:20:08 +02:00
parent 5e7c980831
commit 783858a52c
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ void init_polynom(pb_poly *new_poly, mp_int *chara)
* @param chara the characteristic
* @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;
if ((result = pb_init_size(new_poly, chara, size)) != MP_OKAY) {

View File

@ -31,7 +31,7 @@ void init_integer(mp_int *new_int);
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);