From: David Schweikert Date: Wed, 29 Jul 2020 16:15:46 +0000 (+0200) Subject: revert sprint_tm change doing apparent wrong casting X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=130b1d6f9b6bbe51933d8d1da6a2295ba08d128a;p=fping.git revert sprint_tm change doing apparent wrong casting --- 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) */