]> git.draconx.ca Git - cdecl99.git/blobdiff - t/declgen.c
libcdecl: Replace uintmax_t with unsigned (long) long.
[cdecl99.git] / t / declgen.c
index 630ab907a66532ab5d3342526f5ce2f1a199a30d..9824c40ba8c1fb33a754a872f69b9ab6d75c28fa 100644 (file)
@@ -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++) {