summaryrefslogtreecommitdiff
path: root/src/libstddjb/tai_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tai_add.c')
-rw-r--r--src/libstddjb/tai_add.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/tai_add.c b/src/libstddjb/tai_add.c
index ad481ea..5a3d47a 100644
--- a/src/libstddjb/tai_add.c
+++ b/src/libstddjb/tai_add.c
@@ -4,5 +4,6 @@
int tai_add (tai_t *t, tai_t const *u, tai_t const *v)
{
- return tai_u64(t, tai_sec(u) + tai_sec(v)) ;
+ t->x = u->x + v->x ;
+ return 1 ;
}