fix warnings: array subscript is of type 'char' [-Wchar-subscripts]
[novacoin.git] / src / bignum.h
index 95e2197..daf5f68 100644 (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)