diff options
-rw-r--r-- | include/llvm/Instructions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 09aefb1276..5bd029644b 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1602,7 +1602,7 @@ public: } unsigned getNumIndices() const { // Note: always non-negative - return Indices.size(); + return (unsigned)Indices.size(); } bool hasIndices() const { @@ -1781,7 +1781,7 @@ public: } unsigned getNumIndices() const { // Note: always non-negative - return Indices.size(); + return (unsigned)Indices.size(); } bool hasIndices() const { |