diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-09-02 14:29:42 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-09-02 14:29:42 +0000 |
commit | 8c4e1cb0b1ee824571d28f0f4e9e5250b18cc174 (patch) | |
tree | 7f3a4401c65afa9937244e079594fb47b0c02387 | |
parent | b9fc60351f89d7ea01a4d25682076fcbbf33ef74 (diff) | |
download | skalibs-8c4e1cb0b1ee824571d28f0f4e9e5250b18cc174.tar.gz skalibs-8c4e1cb0b1ee824571d28f0f4e9e5250b18cc174.tar.xz skalibs-8c4e1cb0b1ee824571d28f0f4e9e5250b18cc174.zip |
Infinite recursion my ass cheeks
Sometimes clang warnings have a point. Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | src/libstddjb/uint640_scan_base_max.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/uint640_scan_base_max.c b/src/libstddjb/uint640_scan_base_max.c index 5487f98..2f6d4d4 100644 --- a/src/libstddjb/uint640_scan_base_max.c +++ b/src/libstddjb/uint640_scan_base_max.c @@ -7,7 +7,7 @@ size_t uint640_scan_base_max (char const *s, uint64_t *u, uint8_t base, uint64_t max) { - size_t pos = uint640_scan_base_max(s, u, base, max) ; + size_t pos = uint64_scan_base_max(s, u, base, max) ; if (!pos) return (errno = EINVAL, 0) ; if (!s[pos]) return pos ; errno = fmtscan_num(s[pos], base) < base ? ERANGE : EINVAL ; |