From aa3ba91e912356a1907bb6bf0bc51d2645f5c5f4 Mon Sep 17 00:00:00 2001 From: "Arin(asus)" Date: Wed, 4 Oct 2023 21:34:45 +0900 Subject: [PATCH] .. --- QRCodeEncoder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QRCodeEncoder.cs b/QRCodeEncoder.cs index 6e731a9..84091ba 100644 --- a/QRCodeEncoder.cs +++ b/QRCodeEncoder.cs @@ -480,11 +480,11 @@ namespace ThoughtWorks.QRCode.Codec } sbyte rsBlockOrderLength = 1; - for (sbyte i = 1; i < 128; i++) + for (int i = 1; i < 128; i++) { if (rsBlockOrderTemp[i] == 0) { - rsBlockOrderLength = i; + rsBlockOrderLength = (sbyte)i; break; } }