revert sprint_tm change doing apparent wrong casting

pull/196/head
David Schweikert 4 years ago
parent fec099871c
commit 130b1d6f9b

@ -2621,7 +2621,7 @@ void print_warning(char* format, ...)
const char* sprint_tm(int64_t ns) const char* sprint_tm(int64_t ns)
{ {
static char buf[10]; static char buf[10];
double t = (double)(ns / 1e6); double t = (double)ns / 1e6;
if (t < 0.0) { if (t < 0.0) {
/* negative (unexpected) */ /* negative (unexpected) */

Loading…
Cancel
Save