diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-16 13:25:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-16 13:25:03 +0000 |
commit | dd174c64d5f91debf561a0266b18989696d3eaf8 (patch) | |
tree | 7e7b6a9fd0275336b0786655886b18f229c216a0 /tools | |
parent | 6bae0b3d69c7968586afc73827b5844c6a23873f (diff) | |
download | skalibs-dd174c64d5f91debf561a0266b18989696d3eaf8.tar.xz |
Add genqdyn doc
Diffstat (limited to 'tools')
-rw-r--r-- | tools/convert-leapsecs.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <skalibs/genalloc.h> #include <skalibs/skamisc.h> -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)++ ; } |