[llvm-commits] [llvm] r51982 - /llvm/trunk/include/llvm/Instructions.h
Bill Wendling
isanbard at gmail.com
Thu Jun 5 00:35:27 PDT 2008
Author: void
Date: Thu Jun 5 02:35:27 2008
New Revision: 51982
URL: http://llvm.org/viewvc/llvm-project?rev=51982&view=rev
Log:
Cast because I think I know what I'm doing. There are warnings about converting
from 64-bit to 32-bit.
Modified:
llvm/trunk/include/llvm/Instructions.h
Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=51982&r1=51981&r2=51982&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Thu Jun 5 02:35:27 2008
@@ -1602,7 +1602,7 @@
}
unsigned getNumIndices() const { // Note: always non-negative
- return Indices.size();
+ return (unsigned)Indices.size();
}
bool hasIndices() const {
@@ -1781,7 +1781,7 @@
}
unsigned getNumIndices() const { // Note: always non-negative
- return Indices.size();
+ return (unsigned)Indices.size();
}
bool hasIndices() const {
More information about the llvm-commits
mailing list