Skip to content

Commit bd3abd7

Browse files
committed
Cast pubkeys to the type defined in secp256k1_ec_pubkey_combine
should fix #1
1 parent 192bc4d commit bd3abd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Secp256k1.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ _pubkey_combine(self)
797797
int result = secp256k1_ec_pubkey_combine(
798798
ctx->ctx,
799799
result_pubkey,
800-
ctx->pubkeys,
800+
(const secp256k1_pubkey * const *) ctx->pubkeys,
801801
ctx->pubkeys_count
802802
);
803803

0 commit comments

Comments
 (0)