gbx_number: align type with builtin check signature
authorBastian Germann <bage@debian.org>
Wed, 31 Jul 2024 17:26:21 +0000 (19:26 +0200)
committerBastian Germann <bage@debian.org>
Sat, 3 Aug 2024 10:59:01 +0000 (12:59 +0200)
Gbp-Pq: Name align-type-with-builtin-check-signature.patch

main/gbx/gbx_number.c

index 38fe1a4402874e53eb83281d143eacfe6d532e69..c79ae3741b386c54a640def3500a92a64438ddae 100644 (file)
@@ -83,9 +83,9 @@ static int read_integer(int base, bool minus, int64_t *result, bool local, bool
                12, 12, 12, 12, 12, 12
        };
 
-       uint64_t nbr;
+       long unsigned int nbr;
 #if DO_NOT_CHECK_OVERFLOW
-       uint64_t nbr2;
+       long unsigned int nbr2;
 #endif
        int d, n, c, nmax;
        const char *thsep;