aboutsummaryrefslogtreecommitdiff
path: root/util/host-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/host-utils.c')
-rw-r--r--util/host-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/host-utils.c b/util/host-utils.c
index 7b93220..a789a11 100644
--- a/util/host-utils.c
+++ b/util/host-utils.c
@@ -102,7 +102,7 @@ int divu128(uint64_t *plow, uint64_t *phigh, uint64_t divisor)
*plow = dlo / divisor;
*phigh = dlo % divisor;
return 0;
- } else if (dhi > divisor) {
+ } else if (dhi >= divisor) {
return 1;
} else {