summaryrefslogtreecommitdiffstats
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
commit18fbf1bc374f5ed3c3a371025d32f7a9b9cec562 (patch)
tree27dc90d6e8a134d3d2e8af3520fa079a190c7fcb
parent63a2cb59b0e9b14b9b194f19414a49ea322dbf42 (diff)
downloadbcm5719-llvm-18fbf1bc374f5ed3c3a371025d32f7a9b9cec562.tar.gz
bcm5719-llvm-18fbf1bc374f5ed3c3a371025d32f7a9b9cec562.zip
Cast because I think I know what I'm doing. There are warnings about converting
from 64-bit to 32-bit. llvm-svn: 51982
-rw-r--r--llvm/include/llvm/Instructions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Instructions.h b/llvm/include/llvm/Instructions.h
index 09aefb12763..5bd029644be 100644
--- a/llvm/include/llvm/Instructions.h
+++ b/llvm/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 {
OpenPOWER on IntegriCloud