From 364fde65f6085d085dbf207afe7f87e57919de73 Mon Sep 17 00:00:00 2001 From: caktux Date: Mon, 11 Aug 2014 16:09:09 -0400 Subject: [PATCH] fix unsigned warning in num_gmp_impl.h --- src/num_gmp_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/num_gmp_impl.h b/src/num_gmp_impl.h index 75ef9dc..067c151 100644 --- a/src/num_gmp_impl.h +++ b/src/num_gmp_impl.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