From dd174c64d5f91debf561a0266b18989696d3eaf8 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 16 Mar 2018 13:25:03 +0000 Subject: Add genqdyn doc --- tools/convert-leapsecs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/convert-leapsecs.c b/tools/convert-leapsecs.c index 9964b74..27f8507 100644 --- a/tools/convert-leapsecs.c +++ b/tools/convert-leapsecs.c @@ -9,12 +9,12 @@ #include #include -static genalloc table = GENALLOC_ZERO ; /* uint64 */ +static genalloc table = GENALLOC_ZERO ; /* uint64_t */ static void add_leapsecs (uint64_t *t) { - uint64_t *tab = genalloc_s(uint64, &table) ; - size_t n = genalloc_len(uint64, &table) ; + uint64_t *tab = genalloc_s(uint64_t, &table) ; + size_t n = genalloc_len(uint64_t, &table) ; size_t i = 0 ; for (; i < n ; i++) if (*t >= tab[i]) (*t)++ ; } -- cgit v1.2.3