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;