aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-12 14:55:22 +0200
committerlemon <lsof@mailbox.org>2023-06-12 14:55:22 +0200
commit3ea93dd6d7df07b1c46d3a07c997890a511db0c1 (patch)
tree8bbd35353f2d51da0a35f4d39370a188cbe1d9d7
parent22a9d90ba60f1d8142c3975dff521929bdf05ce8 (diff)
oops
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index ee6dee6..45d50d5 100644
--- a/common.h
+++ b/common.h
@@ -389,7 +389,7 @@ bszero(struct bitset bs[/*siz*/], uint siz)
static inline void
bscopy(struct bitset dst[/*siz*/], const struct bitset src[/*siz*/], uint siz)
{
- while (--siz) dst++->u = src++->u;
+ while (siz--) dst++->u = src++->u;
}
static inline bool