From b2c59ee6e8267cce20cf069e0e08972e278f16c5 Mon Sep 17 00:00:00 2001 From: Wang Fenjin Date: Sun, 24 Nov 2024 20:53:15 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E5=A4=8D=20#158=EF=BC=8CWin?= =?UTF-8?q?dows=20=E4=B8=8B=20Debug=20=E7=89=88=E6=9C=AC=20dll=20=E5=B4=A9?= =?UTF-8?q?=E6=BA=83=E9=97=AE=E9=A2=98=20(#159)"=20(#161)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5ed7ca8ea8bb07610b54a0b15476d852c09ce479. --- src/simple_tokenizer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simple_tokenizer.cc b/src/simple_tokenizer.cc index facf45c..955fe5e 100644 --- a/src/simple_tokenizer.cc +++ b/src/simple_tokenizer.cc @@ -21,7 +21,7 @@ PinYin *SimpleTokenizer::get_pinyin() { return py; } -static TokenCategory from_char(unsigned char c) { +static TokenCategory from_char(char c) { if (std::isdigit(c)) { return TokenCategory::DIGIT; }