From 7f735b72820fbe86d0e79774b75094d7ce35be3b Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Sun, 3 Sep 2023 21:42:46 +0100 Subject: [PATCH] Added TODO to re-check timespec casting. --- src/pv/elapsedtime.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pv/elapsedtime.c b/src/pv/elapsedtime.c index 95362f0..6fa16a5 100644 --- a/src/pv/elapsedtime.c +++ b/src/pv/elapsedtime.c @@ -136,6 +136,9 @@ void pv_elapsedtime_add(struct timespec *return_time, const struct timespec *fir * large enough and are relying on the compiler to do the casting * correctly, since the manual for timespec(3) states the types are * implementation-defined. + * + * TODO: review this to make sure that this isn't just an elaborate + * excuse for "it's hard to fix and I don't know how". */ }