From f650d62fc66d67e9afb6917de9220b1e0e6759fe Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sun, 15 Apr 2012 12:22:30 +0200 Subject: fix warnings: array subscript is of type 'char' [-Wchar-subscripts] --- src/bignum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bignum.h') diff --git a/src/bignum.h b/src/bignum.h index 6e8d3cb8ab..641ebf4b05 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -300,7 +300,7 @@ public: while (isxdigit(*psz)) { *this <<= 4; - int n = phexdigit[*psz++]; + int n = phexdigit[(unsigned char)*psz++]; *this += n; } if (fNegative) -- cgit v1.2.3