aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/url.cc
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-08-01 13:42:14 -0700
committerJade Lovelace <lix@jade.fyi>2024-08-04 20:55:45 -0700
commitca9d3e6e00ec452701d9d3b7e909eff61799f739 (patch)
treec56d28840835fabdfd70589a45a0ecf1a7accf80 /src/libutil/url.cc
parent9238e62ae6b7b8bf00d53b48e0c3ae33285dd4ab (diff)
tree-wide: fix various lint warnings
Change-Id: I0fc80718eb7e02d84cc4b5d5deec4c0f41116134
Diffstat (limited to 'src/libutil/url.cc')
-rw-r--r--src/libutil/url.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/url.cc b/src/libutil/url.cc
index 87146ca56..2de50dd4d 100644
--- a/src/libutil/url.cc
+++ b/src/libutil/url.cc
@@ -63,7 +63,7 @@ std::string percentDecode(std::string_view in)
if (i + 2 >= in.size())
throw BadURL("invalid URI parameter '%s'", in);
try {
- decoded += std::stoul(std::string(in, i + 1, 2), 0, 16);
+ decoded += char8_t(std::stoul(std::string(in, i + 1, 2), 0, 16));
i += 3;
} catch (...) {
throw BadURL("invalid URI parameter '%s'", in);