We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d3ab3 commit 4a49647Copy full SHA for 4a49647
lib/univalue_get.cpp
@@ -35,7 +35,7 @@ bool ParseInt32(const std::string& str, int32_t *out)
35
errno = 0; // strtol will not set errno if valid
36
long int n = strtol(str.c_str(), &endp, 10);
37
if(out) *out = (int32_t)n;
38
- // 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
39
// we still have to check that the returned value is within the range of an *int32_t*. On 64-bit
40
// platforms the size of these types may be different.
41
return endp && *endp == 0 && !errno &&
0 commit comments