about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2024-04-30 21:48:01 +0300
committerAlexey Yerin <yyp@disroot.org>2024-04-30 21:48:01 +0300
commitf08701d84804bd989e114991b006813127ee3586 (patch)
tree36038db0a1435ed4754039781a3eb180d31f9826
parent5271eab82c03ceea82435c7a75f0cd00385c661f (diff)
format::fastxml: Update use of strconv::stou32
-rw-r--r--format/fastxml/parser.ha2
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) =>