Change secp256k1_ec_pubkey_combine's count argument to size_t.

This commit is contained in:
Gregory Maxwell
2015-10-31 19:04:34 +00:00
parent c69dea025a
commit 8e48787d97
7 changed files with 14 additions and 20 deletions

View File

@@ -530,8 +530,8 @@ int secp256k1_context_randomize(secp256k1_context* ctx, const unsigned char *see
return 1;
}
int secp256k1_ec_pubkey_combine(const secp256k1_context* ctx, secp256k1_pubkey *pubnonce, const secp256k1_pubkey * const *pubnonces, int n) {
int i;
int secp256k1_ec_pubkey_combine(const secp256k1_context* ctx, secp256k1_pubkey *pubnonce, const secp256k1_pubkey * const *pubnonces, size_t n) {
size_t i;
secp256k1_gej Qj;
secp256k1_ge Q;