Skip to content

Commit 4577454

Browse files
author
MarcoFalke
committed
Merge bitpay#13: Fix typo
4a49647 Fix typo (Dimitris Apostolou) Pull request description: Tree-SHA512: c87e813cee15cd8e0b125e7889de5bf4f72d2233446714dfd92b29f9052d7543174641897ba503dde7553ffb26e4f16f46000888a3a95669a327a36b743c9e49
2 parents 7890db9 + 4a49647 commit 4577454

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)