about summary refs log tree commit diff
diff options
context:
space:
mode:
-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) =>