summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Demangle/MicrosoftDemangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Demangle/MicrosoftDemangle.cpp b/llvm/lib/Demangle/MicrosoftDemangle.cpp
index 1e4f85303c9..596359b7d99 100644
--- a/llvm/lib/Demangle/MicrosoftDemangle.cpp
+++ b/llvm/lib/Demangle/MicrosoftDemangle.cpp
@@ -1571,7 +1571,7 @@ ParamList Demangler::demangleFunctionParameterList() {
!MangledName.startsWith('Z')) {
if (startsWithDigit(MangledName)) {
- int N = MangledName[0] - '0';
+ size_t N = MangledName[0] - '0';
if (N >= FunctionParamBackRefCount) {
Error = true;
return {};
OpenPOWER on IntegriCloud