From 8f104be76f37536698ddb041d025e75ac83bc128 Mon Sep 17 00:00:00 2001 From: v0lt Date: Fri, 19 Sep 2025 22:02:29 +0300 Subject: [PATCH] Fixed a typo in the condition for counting digital characters. --- compact_enc_det/compact_enc_det.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compact_enc_det/compact_enc_det.cc b/compact_enc_det/compact_enc_det.cc index fcac75a9..30317710 100644 --- a/compact_enc_det/compact_enc_det.cc +++ b/compact_enc_det/compact_enc_det.cc @@ -2469,7 +2469,7 @@ bool GoodUnicodeFromBase64(const uint8* start, const uint8* limit) { ++lower_count; } else if (('A' <= c) && (c <= 'Z')) { ++upper_count; - } else if (('0' <= c) && (c <= '0')) { + } else if (('0' <= c) && (c <= '9')) { ++digit_count; } else if (*src == '+') { ++plus_count;