diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-02-26 09:59:10 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-02-26 09:59:10 +0100 |
commit | 92ac2277ef889d82e56efd57a342959d8b3399d8 (patch) | |
tree | 8fec731deb3b43e93521e6433752163a2726e9b5 /src/string.c | |
parent | 461d481e1a84e8e5232b471331e02ea9d63b2a2a (diff) | |
parent | 2acbac8ef9d314b73fbbd68c2e70580988c063a9 (diff) |
Update upstream source from tag 'upstream/4.23'
Update to upstream version '4.23'
with Debian dir be13fa3ac3ad7e7d4942f166bc070b5e33af6313
Diffstat (limited to 'src/string.c')
-rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index 06066ce..e468063 100644 --- a/src/string.c +++ b/src/string.c @@ -1036,7 +1036,7 @@ EXPORT_SYMBOL unsigned long long HX_strtoull_unit(const char *s, * UB. Thus check for range and apply the negation after the * conversion to ULL. */ - if (q > ULLONG_MAX) { + if (q >= static_cast(double, ULLONG_MAX)) { errno = ERANGE; return ULLONG_MAX; } |