summaryrefslogtreecommitdiff
path: root/src/libstddjb/tai_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tai_sub.c')
-rw-r--r--src/libstddjb/tai_sub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/tai_sub.c b/src/libstddjb/tai_sub.c
index e0cda7a..b85f1f2 100644
--- a/src/libstddjb/tai_sub.c
+++ b/src/libstddjb/tai_sub.c
@@ -4,5 +4,6 @@
int tai_sub (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 ;
}