Skip to content

Commit

Permalink
修复 #158,Windows 下 Debug 版本 dll 崩溃问题
Browse files Browse the repository at this point in the history
  • Loading branch information
SageMik authored Oct 17, 2024
1 parent 33d1ea7 commit 3db3b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simple_tokenizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PinYin *SimpleTokenizer::get_pinyin() {
return py;
}

static TokenCategory from_char(char c) {
static TokenCategory from_char(unsigned char c) {
if (std::isdigit(c)) {
return TokenCategory::DIGIT;
}
Expand Down

0 comments on commit 3db3b7b

Please sign in to comment.