diff --git a/llvm/include/llvm/IR/Instructions.h b/llvm/include/llvm/IR/Instructions.h index 57b0d89276ec..7e29699f73d9 100644 --- a/llvm/include/llvm/IR/Instructions.h +++ b/llvm/include/llvm/IR/Instructions.h @@ -2758,7 +2758,7 @@ public: return *this; } - if (Index != -1UL) + if (Index != -1U) --SubsetIt; return *this;