diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 12:22:30 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-15 19:28:09 -0400 |
commit | 85e975f37907848ad28240da5b5e682ceb565eb2 (patch) | |
tree | cda44dcaba517339e1b65d497c93c0ae07a8d53f /src/bignum.h | |
parent | cb1035a00882405fac47eb92e7086c7231062e3d (diff) | |
download | bitcoin-85e975f37907848ad28240da5b5e682ceb565eb2.tar.xz |
fix warnings: array subscript is of type 'char' [-Wchar-subscripts]
Diffstat (limited to 'src/bignum.h')
-rw-r--r-- | src/bignum.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |