From 3ea93dd6d7df07b1c46d3a07c997890a511db0c1 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 12 Jun 2023 14:55:22 +0200 Subject: oops --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3