From 9cc46d0ecc6bcfdd05c0b199e0046949c76e9577 Mon Sep 17 00:00:00 2001 From: BanYiMeng Date: Mon, 11 May 2026 14:48:26 +0900 Subject: [PATCH] Fix loop condition in initialize_crc32_table --- schifra_crc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schifra_crc.hpp b/schifra_crc.hpp index 62b1073..9a28eb6 100644 --- a/schifra_crc.hpp +++ b/schifra_crc.hpp @@ -98,7 +98,7 @@ namespace schifra void initialize_crc32_table() { - for (std::size_t i = 0; i < 0xFF; ++i) + for (std::size_t i = 0; i <= 0xFF; ++i) { crc32_t reg = i;