Reported by Gerd Möllmann <gerd.moellmann@gmail.com> at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72036>.
* lib/timespec-sub.c (timespec_sub): Use 'int' as type of variable.
Copyright-paperwork-exempt: Yes
+2024-07-10 Pip Cet <pipcet@protonmail.com>
+
+ timespec-sub: Fix compilation error on clang.
+ Reported by Gerd Möllmann <gerd.moellmann@gmail.com> at
+ <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72036>.
+ * lib/timespec-sub.c (timespec_sub): Use 'int' as type of variable.
+ Copyright-paperwork-exempt: Yes
+
2024-07-06 Bruno Haible <bruno@clisp.org>
pthread-cond: Fix compilation error on native Windows.
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);