git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix warnings: array subscript is of type 'char' [-Wchar-subscripts]
[novacoin.git]
/
src
/
bignum.h
diff --git
a/src/bignum.h
b/src/bignum.h
index
95e2197
..
daf5f68
100644
(file)
--- a/
src/bignum.h
+++ b/
src/bignum.h
@@
-301,7
+301,7
@@
public:
while (isxdigit(*psz))
{
*this <<= 4;
- int n = phexdigit[*psz++];
+ int n = phexdigit[(unsigned char)*psz++];
*this += n;
}
if (fNegative)