X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/90eaf19d63952c7df0239dcd7c6c09b4292aa575..1943156e7ba5c0318a54369a52297f74bad7b5b9:/t/declgen.c diff --git a/t/declgen.c b/t/declgen.c index 630ab90..9824c40 100644 --- a/t/declgen.c +++ b/t/declgen.c @@ -1,6 +1,6 @@ /* * Generate random C declarations for testing. - * Copyright © 2012, 2021-2023 Nick Bowler + * Copyright © 2012, 2021-2024 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -288,10 +288,10 @@ gen_declspecs(struct test_rng *rng, unsigned flags) return gen_randomize_specs(rng, s); } -static uintmax_t gen_uintmax(struct test_rng *rng) +static cdecl_uintmax gen_uintmax(struct test_rng *rng) { + cdecl_uintmax ret = 0; unsigned char tmp; - uintmax_t ret = 0; size_t i; for (i = 0; i < sizeof ret; i++) {