aboutsummaryrefslogtreecommitdiff
path: root/src/uint256.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-10-29 09:15:11 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-11-06 17:32:13 +0100
commitc5fd143edb85d0c181e21a429f9e29d12a611831 (patch)
treeff7260b262bf078cb026f0560ee8643ef8d1879e /src/uint256.cpp
parente70cc8983c570bbacee37a67df86b1bf959894df (diff)
Use ToLower(...) instead of std::tolower
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 d9da668036..b723f9ee54 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(psz[1]) == 'x')
+ if (psz[0] == '0' && ToLower((unsigned char)psz[1]) == 'x')
psz += 2;
// hex string to uint