replace cx_strtou32_lc_ with cx_strtou32_lc in json.c

Sat, 25 Jan 2025 16:27:48 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 25 Jan 2025 16:27:48 +0100
changeset 1151
60113356a7de
parent 1150
7b0bd5e76b5d
child 1152
e4af44b488bc

replace cx_strtou32_lc_ with cx_strtou32_lc in json.c

src/json.c file | annotate | diff | comparison | revisions
--- a/src/json.c	Sat Jan 25 16:27:32 2025 +0100
+++ b/src/json.c	Sat Jan 25 16:27:48 2025 +0100
@@ -402,7 +402,7 @@
                 if (i+4 < str.length - 1) {
                     cxstring codepoint_str = { str.ptr + i + 1, 4};
                     uint32_t codepoint;
-                    if(!cx_strtou32_lc_(codepoint_str, &codepoint, 16, "")) {
+                    if(!cx_strtou32_lc(codepoint_str, &codepoint, 16, "")) {
                         char utf8buf[4];
                         int utf8len = codepoint_to_utf8(codepoint, utf8buf);
                         if(utf8len > 0) {

mercurial