mirror of https://github.com/stelzo/typst.git
Fix chinese numbers being limited to 255 (#2802)
This commit is contained in:
parent
3ea2ad6cae
commit
79c2d1f29e
|
|
@ -482,7 +482,7 @@ impl NumberingKind {
|
|||
Case::Upper => ChineseCase::Upper,
|
||||
};
|
||||
|
||||
match (n as u8).to_chinese(
|
||||
match (n as u64).to_chinese(
|
||||
match l {
|
||||
Self::SimplifiedChinese => ChineseVariant::Simple,
|
||||
Self::TraditionalChinese => ChineseVariant::Traditional,
|
||||
|
|
|
|||
Loading…
Reference in New Issue