aboutsummaryrefslogtreecommitdiff
path: root/src/Uri.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Uri.cpp')
-rw-r--r--src/Uri.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Uri.cpp b/src/Uri.cpp
index 51d14f4..fb9e1f8 100644
--- a/src/Uri.cpp
+++ b/src/Uri.cpp
@@ -520,7 +520,7 @@ namespace {
const Uri::CharacterSet& allowedCharacters
) {
std::string encodedElement;
- for (auto c: element) {
+ for (uint8_t c: element) {
if (allowedCharacters.Contains(c)) {
encodedElement.push_back(c);
} else {