summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_addsec.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-02-21 12:05:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-02-21 12:05:07 +0000
commit49d8fa1058aaf23c29e074b2314492ae40d2f557 (patch)
tree393f884d5a99f984e992a0f35f1b02ac43536217 /src/libstddjb/tain_addsec.c
parentfdffefb8032922ce7ffe4c00816072a8ff2148fc (diff)
downloadskalibs-49d8fa1058aaf23c29e074b2314492ae40d2f557.tar.xz
Types change: big pass on libstddjb and libunixonacid
libdatastruct still missing, library still not functional
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 ;