summaryrefslogtreecommitdiff
path: root/pfinet/mapped-time.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/mapped-time.h')
-rw-r--r--pfinet/mapped-time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/mapped-time.h b/pfinet/mapped-time.h
index ec4aaddc..e5972664 100644
--- a/pfinet/mapped-time.h
+++ b/pfinet/mapped-time.h
@@ -35,7 +35,7 @@ fetch_jiffies ()
}
while (secs != mapped_time->check_seconds);
- j = (long long) secs * HZ + (long long) usecs * HZ / 1000.0;
+ j = (long long) secs * HZ + ((long long) usecs * HZ) / 1000;
return j - root_jiffies;
}