diff options
author | Alexey Yerin <yyp@disroot.org> | 2024-04-30 21:48:01 +0300 |
---|---|---|
committer | Alexey Yerin <yyp@disroot.org> | 2024-04-30 21:48:01 +0300 |
commit | f08701d84804bd989e114991b006813127ee3586 (patch) | |
tree | 36038db0a1435ed4754039781a3eb180d31f9826 | |
parent | 5271eab82c03ceea82435c7a75f0cd00385c661f (diff) |
format::fastxml: Update use of strconv::stou32
-rw-r--r-- | format/fastxml/parser.ha | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/format/fastxml/parser.ha b/format/fastxml/parser.ha index f970ac5..5dc1b52 100644 --- a/format/fastxml/parser.ha +++ b/format/fastxml/parser.ha @@ -369,7 +369,7 @@ fn scan_charref(par: *parser) (rune | error) = { if (len(memio::string(&par.entbuf)!) == 0) { return par.line: syntaxerr; }; - match (strconv::stou32b(memio::string(&par.entbuf)!, base)) { + match (strconv::stou32(memio::string(&par.entbuf)!, base)) { case let u: u32 => return u: rune; case (strconv::invalid | strconv::overflow) => |