--- a/src/buffer.c Sat Apr 30 09:47:20 2022 +0200
+++ b/src/buffer.c Sun May 01 10:39:13 2022 +0200
@@ -168,8 +168,8 @@
if (size > 1) {
// TODO: this is bugged - it would only discard one element and not as many as required
len -= len % size;
- nitems = len / size;
}
+ nitems = len / size;
}
}
}