summaryrefslogtreecommitdiff
path: root/helpcompiler/source/HelpLinker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler/source/HelpLinker.cxx')
-rw-r--r--helpcompiler/source/HelpLinker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx
index 66ad44bbc055..cfff46a16a34 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -216,7 +216,7 @@ namespace URLEncoder
result += c;
else {
result += '%';
- result += hex[c >> 4];
+ result += hex[static_cast<unsigned char>(c) >> 4];
result += hex[c & 0xf];
}
}