aboutsummaryrefslogtreecommitdiff
path: root/src/uint256.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uint256.cpp')
-rw-r--r--src/uint256.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uint256.cpp b/src/uint256.cpp
index b723f9ee54..e3bc9712e8 100644
--- a/src/uint256.cpp
+++ b/src/uint256.cpp
@@ -33,7 +33,7 @@ void base_blob<BITS>::SetHex(const char* psz)
psz++;
// skip 0x
- if (psz[0] == '0' && ToLower((unsigned char)psz[1]) == 'x')
+ if (psz[0] == '0' && ToLower(psz[1]) == 'x')
psz += 2;
// hex string to uint