mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
fix unsigned warning in num_gmp_impl.h
This commit is contained in:
parent
13e44df743
commit
364fde65f6
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ void static secp256k1_num_set_hex(secp256k1_num_t *r, const char *a, int alen) {
|
||||||
0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0,0,0,
|
0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0,0,0,
|
||||||
0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0,0,0
|
0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0,0,0
|
||||||
};
|
};
|
||||||
char num[257] = {};
|
unsigned char num[257] = {};
|
||||||
for (int i=0; i<alen; i++) {
|
for (int i=0; i<alen; i++) {
|
||||||
num[i] = cvt[a[i]];
|
num[i] = cvt[a[i]];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue