diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-10-30 16:27:27 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-10-30 16:24:02 -0400 |
commit | fa439e88af944082875e1fdb1cd8bb5a74b88b56 (patch) | |
tree | d17749e400e5be1dba10d2d6b6c8ad79ac02fdba /src/univalue/lib | |
parent | 341e8d355d1a74aadb3a88a12a58cfda6ca262bc (diff) | |
parent | fa0b3da36cd7cf0aada22f2d459296b81274c2f9 (diff) | |
download | bitcoin-fa439e88af944082875e1fdb1cd8bb5a74b88b56.tar.xz |
Update univalue subtree
Diffstat (limited to 'src/univalue/lib')
-rw-r--r-- | src/univalue/lib/univalue_get.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/univalue/lib/univalue_get.cpp b/src/univalue/lib/univalue_get.cpp index eabcf2dad1..0ad6146545 100644 --- a/src/univalue/lib/univalue_get.cpp +++ b/src/univalue/lib/univalue_get.cpp @@ -35,7 +35,7 @@ bool ParseInt32(const std::string& str, int32_t *out) errno = 0; // strtol will not set errno if valid long int n = strtol(str.c_str(), &endp, 10); if(out) *out = (int32_t)n; - // Note that strtol returns a *long int*, so even if strtol doesn't report a over/underflow + // Note that strtol returns a *long int*, so even if strtol doesn't report an over/underflow // we still have to check that the returned value is within the range of an *int32_t*. On 64-bit // platforms the size of these types may be different. return endp && *endp == 0 && !errno && |