diff options
Diffstat (limited to 'lib/univalue_get.cpp')
-rw-r--r-- | lib/univalue_get.cpp | 2 |
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 && |