From 130b1d6f9b6bbe51933d8d1da6a2295ba08d128a Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Wed, 29 Jul 2020 18:15:46 +0200 Subject: [PATCH] revert sprint_tm change doing apparent wrong casting --- src/fping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fping.c b/src/fping.c index 8173404..91f3f3a 100644 --- a/src/fping.c +++ b/src/fping.c @@ -2621,7 +2621,7 @@ void print_warning(char* format, ...) const char* sprint_tm(int64_t ns) { static char buf[10]; - double t = (double)(ns / 1e6); + double t = (double)ns / 1e6; if (t < 0.0) { /* negative (unexpected) */