summaryrefslogtreecommitdiff
path: root/src/libstddjb/ntp_from_tain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/ntp_from_tain.c')
-rw-r--r--src/libstddjb/ntp_from_tain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/ntp_from_tain.c b/src/libstddjb/ntp_from_tain.c
index 43d5a42..276a775 100644
--- a/src/libstddjb/ntp_from_tain.c
+++ b/src/libstddjb/ntp_from_tain.c
@@ -5,9 +5,9 @@
#include <skalibs/tai.h>
#include <skalibs/djbtime.h>
-int ntp_from_tain (uint64 *u, tain_t const *a)
+int ntp_from_tain (uint64_t *u, tain_t const *a)
{
- uint64 secs, frac ;
+ uint64_t secs, frac ;
if (!utc_from_tai(&secs, tain_secp(a))) return 0 ;
secs += NTP_OFFSET ;
if (secs < TAI_MAGIC + 2147483648UL) goto ifail ;