aboutsummaryrefslogtreecommitdiff
path: root/lib/univalue_get.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-02-09 07:49:51 -0800
committerMarcoFalke <falke.marco@gmail.com>2020-02-09 07:49:51 -0800
commit5e1728017bc2005c70784d235f5d4ba8017d7efd (patch)
tree3ebb64da63fa27ad0a305c3e83fa89a85648eb24 /lib/univalue_get.cpp
parentdc287c98f8b33576f3c71db02a232106ef0e57d9 (diff)
downloadbitcoin-5e1728017bc2005c70784d235f5d4ba8017d7efd.tar.xz
Squashed 'src/univalue/' changes from 7890db99d6..98261b1e7b
98261b1e7b Merge #22: Clamp JSON object depth to PHP limit 54c4015415 Clamp JSON object depth to PHP limit 5a58a46671 Merge #21: Remove hand-coded UniValue destructor. b4cdfc4f47 Remove hand-coded UniValue destructor. 7fba60b5ad Merge #17: [docs] Update readme 4577454e7e Merge #13: Fix typo ac7e73cda8 [docs] Update readme 4a4964729b Fix typo git-subtree-dir: src/univalue git-subtree-split: 98261b1e7be4ce9820e25c8ce37d40cdef19ab20
Diffstat (limited to 'lib/univalue_get.cpp')
-rw-r--r--lib/univalue_get.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/univalue_get.cpp b/lib/univalue_get.cpp
index eabcf2dad1..0ad6146545 100644
--- a/lib/univalue_get.cpp
+++ b/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 &&