Skip to content

Commit

Permalink
revert sprint_tm change doing apparent wrong casting
Browse files Browse the repository at this point in the history
  • Loading branch information
schweikert committed Jul 29, 2020
1 parent fec0998 commit 130b1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit 130b1d6

Please sign in to comment.