fix warnings: array subscript is of type 'char' [-Wchar-subscripts]

This commit is contained in:
Wladimir J. van der Laan
2012-04-15 12:22:30 +02:00
parent 1f29d399f4
commit 8add7822ce
3 changed files with 5 additions and 5 deletions

View File

@@ -301,7 +301,7 @@ public:
while (isxdigit(*psz))
{
*this <<= 4;
int n = phexdigit[*psz++];
int n = phexdigit[(unsigned char)*psz++];
*this += n;
}
if (fNegative)