Use unsigned char consistently for byte arrays

C++ does not allow initialization with string literals but we do it in other
places and -fpermissive will convince g++ to compile.
This commit is contained in:
Tim Ruffing 2021-07-04 11:37:06 +02:00
parent b5b8e7b719
commit f698caaff6

View File

@ -219,7 +219,7 @@ void test_schnorrsig_api(void) {
/* Checks that hash initialized by secp256k1_schnorrsig_sha256_tagged has the
* expected state. */
void test_schnorrsig_sha256_tagged(void) {
char tag[17] = "BIP0340/challenge";
unsigned char tag[17] = "BIP0340/challenge";
secp256k1_sha256 sha;
secp256k1_sha256 sha_optimized;