about summary refs log tree commit diff
path: root/tools/convert-leapsecs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/convert-leapsecs.c')
-rw-r--r--tools/convert-leapsecs.c6
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)++ ;
 }