aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-06-05 07:35:27 +0000
committerBill Wendling <isanbard@gmail.com>2008-06-05 07:35:27 +0000
commit67944fc42755a32a864c105d604e8829e5ccc4b2 (patch)
tree94166929763a38f9c9bf07f261cd5265b53ff721
parentcfd5b7d18ba3c803c83fdadcf8472f755d5cda05 (diff)
downloadexternal_llvm-67944fc42755a32a864c105d604e8829e5ccc4b2.zip
external_llvm-67944fc42755a32a864c105d604e8829e5ccc4b2.tar.gz
external_llvm-67944fc42755a32a864c105d604e8829e5ccc4b2.tar.bz2
Cast because I think I know what I'm doing. There are warnings about converting
from 64-bit to 32-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51982 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Instructions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index 09aefb1..5bd0296 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 {