From f08701d84804bd989e114991b006813127ee3586 Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Tue, 30 Apr 2024 21:48:01 +0300 Subject: format::fastxml: Update use of strconv::stou32 --- format/fastxml/parser.ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => -- cgit 1.3.0-6-gf8a5