From ef5e8930ea6919fd0bab943de5704bec38a1c1f2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 10 Jul 2024 18:18:07 +0200 Subject: [PATCH] * lib/timespec-sub.c: Copy manually from Gnulib. (cherry picked from commit 831539542f90c2844418c8b0657f4c050a3d9dfb) --- lib/timespec-sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timespec-sub.c b/lib/timespec-sub.c index f6d948780e4..38f9c6a4dc2 100644 --- a/lib/timespec-sub.c +++ b/lib/timespec-sub.c @@ -31,7 +31,7 @@ struct timespec timespec_sub (struct timespec a, struct timespec b) { int nsdiff = a.tv_nsec - b.tv_nsec; - bool borrow = nsdiff < 0; + int borrow = nsdiff < 0; time_t rs; int rns; bool v = ckd_sub (&rs, a.tv_sec, b.tv_sec); -- 2.39.2