aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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