Skip to content

Commit 4a49647

Browse files
authored
Fix typo
1 parent 51d3ab3 commit 4a49647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/univalue_get.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ bool ParseInt32(const std::string& str, int32_t *out)
3535
errno = 0; // strtol will not set errno if valid
3636
long int n = strtol(str.c_str(), &endp, 10);
3737
if(out) *out = (int32_t)n;
38-
// Note that strtol returns a *long int*, so even if strtol doesn't report a over/underflow
38+
// Note that strtol returns a *long int*, so even if strtol doesn't report an over/underflow
3939
// we still have to check that the returned value is within the range of an *int32_t*. On 64-bit
4040
// platforms the size of these types may be different.
4141
return endp && *endp == 0 && !errno &&

0 commit comments

Comments
 (0)