diff --git a/src/view.c b/src/view.c index bd7dbcd86..6dde7cb07 100644 --- a/src/view.c +++ b/src/view.c @@ -266,6 +266,7 @@ offset_doz (offset_type a, offset_type b) static inline offset_type offset_rounddown (offset_type a, offset_type b) { + assert (b != 0); return a - a % b; }