Merge pull request #51

364fde6 fix unsigned warning in num_gmp_impl.h (caktux)
This commit is contained in:
Pieter Wuille 2014-08-27 01:19:44 +02:00
commit e2beb0bd2d
No known key found for this signature in database
GPG Key ID: 8F653255C87992E0
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,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]];
} }