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>
Fri, 8 Nov 2024 10:29:20 +0000 (10:29 +0000)
Gbp-Pq: Name align-type-with-builtin-check-signature.patch

main/gbx/gbx_number.c

index 57d0a528cbd3a104f182b2c3224963d0cbf437c3..f0ea4932f0c02728853fe06253f86ab663853340 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;