Browse Source

fix unsigned warning in num_gmp.h

cl-refactor
caktux 11 years ago
parent
commit
d9b9873318
  1. 2
      secp256k1/impl/num_gmp.h

2
secp256k1/impl/num_gmp.h

@ -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
};
char num[257] = {};
unsigned char num[257] = {};
for (int i=0; i<alen; i++) {
num[i] = cvt[a[i]];
}

Loading…
Cancel
Save