summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_addsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tain_addsec.c')
-rw-r--r--src/libstddjb/tain_addsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/tain_addsec.c b/src/libstddjb/tain_addsec.c
index b0d19e2..cd22b18 100644
--- a/src/libstddjb/tain_addsec.c
+++ b/src/libstddjb/tain_addsec.c
@@ -7,12 +7,12 @@ int tain_addsec (tain_t *b, tain_t const *a, int c)
{
if (c >= 0)
{
- tai_t t = { .x = (uint64)c } ;
+ tai_t t = { .x = (uint64_t)c } ;
tai_add(&b->sec, &a->sec, &t) ;
}
else
{
- tai_t t = { .x = (uint64)-c } ;
+ tai_t t = { .x = (uint64_t)-c } ;
tai_sub(&b->sec, &a->sec, &t) ;
}
b->nano = a->nano ;